![]() |
|
Thread Tools |
#1
|
||||
|
||||
Slow loading script problem.
Hi,
I have a script from an advertiser that produces a geo-targetted text link. The problem is the script is slow to load which delays loading the rest of my site, as this code is placed in the header. Is there some way I can have the script load last, but still have it show in the header? Here is the relevant code from the advertiser.
Cheers, Ian No members have liked this post.
|
#2
|
||||
|
||||
Try:
the defer tag should make the browser handle it after the page has been rendered
__________________
administrator: visordown.com No members have liked this post.
|
#3
|
|||
|
|||
Hi,
Apparently the defer attribute does not work in firefox. I am hoping to find a solution using css position maybe? or javascript even? Cheers No members have liked this post.
|
#4
|
||||||||
|
||||||||
Put this where you want the ads:
Put this at the very bottom of the footer.
__________________
My vBulletin Modifications. No members have liked this post.
|
#5
|
|||
|
|||
Hi,
After making those edits, nothing shows up where the adsplaceholder div is, and the myads div shows at the very bottom of the footer... No members have liked this post.
|
#6
|
||||
|
||||
Hmmm, I just did a test and it worked for me.
__________________
My vBulletin Modifications. No members have liked this post.
|
#7
|
|||
|
|||
Any ideas what I could be doing wrong? These edits seem pretty simple...
So just to be clear I added the adsplaceholder div in my header, with nothing between the div tags. And added the myads div + the javascript in my footer. The ad shows where the myads div is placed, and nothing shows up where the adsplaceholder div is... No members have liked this post.
|
#8
|
||||||||
|
||||||||
Ok, I just tested it again.
I added this to the very bottom of the navbar template
And the following to the very bottom of the footer template
Try that.
__________________
My vBulletin Modifications. No members have liked this post.
|
#9
|
|||
|
|||
Yup that worked! Sure beats using a ghetto transparent iframe.!
Thanks alot! No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:07.