/    Sign up×
Community /Pin to ProfileBookmark

Calling an external JS file

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>

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@KDLAApr 11.2007 — 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
Copy linkTweet thisAlerts:
@LeeUApr 11.2007 — It sometimes is also due to the CSS. As KDLA said, we will need a link so we can view both.
Copy linkTweet thisAlerts:
@thesosaauthorApr 11.2007 — 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
×

Success!

Help @thesosa spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...