/    Sign up×
Community /Pin to ProfileBookmark

js concole in netscape

i have a question….
using netscape only, i get a java console that pops up when someone goes
to [url]http://www.johnuher.com/portfolio.html[/url] and clicks on a thumbnail
within one of the sections….
how do i elimate that?
The console doesn’t even report errors on my current webpage im viewing
at the johnuher.com site….but tells me of other js errors from past sites ive
visited – like a history of sites.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@pyroJul 16.2003 — I'm not getting any errors...
Copy linkTweet thisAlerts:
@AdamGundryJul 16.2003 — You have used [b]href="javascript:"[/b] to do nothing in your <a> tag. Use [b]href="#"[/b] instead.

Adam
Copy linkTweet thisAlerts:
@coobsauthorJul 16.2003 — putting href="#" does seem to have worked, thank you for the help!

May I ask what that does technically? Im interested to know how it fixed it exactly.

thanks!
Copy linkTweet thisAlerts:
@AdamGundryJul 17.2003 — If you type "javascript:" into the Mozilla/Netscape address bar, it pops up the JS console, so that's what happens when you link to it. A hash sign (#) indicates you are linking to a named anchor within the page, but if you do not put a name after the hash it will simply go nowhere. An alternative is to put "javascript:void(0);" which runs a JS statement that does nothing, but that will cause problems for browsers which do not understand Javascript.

Adam
×

Success!

Help @coobs 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 5.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...