Reply to thread

Hi,

I'm having a stupid issue but maybe there is a simple solution.

I want to call an overlay, similar to the language chooser or quick navigation.


I create the template and the css, that works fine.. the overlay is there and works as expected in all browsers as soon as I click the link. it closes with the cancel button.

me => happy


when I add a javascript to the template.. (simple example, just a teeny script to check if jquery is there)

[HTML]<script type="text/javascript">

    if(typeof(jQuery) === undefined){

        alert("jQuery not loaded")

    }

    else{

        alert("Everything OK")

    }

</script>[/HTML]

It works fine in FireFox or in Chrome (answers ok), but has a strange behavior in IE8

in IE, it tries to do something - the working symbol appears top right - but then it jumps as if javascript was disabled to the overlay template as full page - and then only prompts ok.


in the script console of IE (hitting F12) i get following messages:


(oops, instead of smileys it should be XenForo . OverlayLoader.show() (without the spaces)


thats it, and the page opens not as overlay, but on a new page. There i get the Everything OK alert.

But I want it to stay on the same page like it does in FireFox or in Chrome.


Any help would be very appreciated.

Luc


[EDIT]Just seen this has been moved to open bugs... but could it be that its just me doing something wrong? thats why i had posted it in devel. discussion

Luc

[/EDIT]


Back
Top Bottom