Click to See Complete Forum and Search --> : Calling an external JS file


thesosa
04-11-2007, 10:31 AM
I have a page that is calling an external javascript file. However when I embed the url into the html document it causes my hyperlinks on the page to jump/shrink/change colors on a rollover. Any idea why this might be happening.

I placed the code within a table with a set width and called the url:

<script type="text/javascript" src="url here"></script>

KDLA
04-11-2007, 10:34 AM
That should be put in the <head> section, not the <body>.... however, it may be due to the javascripting itself. Without the code or a link, it's hard to tell.

KDLA

LeeU
04-11-2007, 10:49 AM
It sometimes is also due to the CSS. As KDLA said, we will need a link so we can view both.

thesosa
04-11-2007, 11:30 AM
I believe its a problem with the CSS interacting with the javascript. I need the widget to appear in a set place on the page. The link is below, the piece i'm speaking of is the real time stock feed underneath the banner. If you notice when you rollover the links outside of the widget they jump on the homepage but not on any other page of the site which do not contain the javascript.

www.consultingmag.com