Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

javascript error brings up error console

Featured Replies

I've built a site using iframes and a dropdown menu. the drop menu was generated by quickmenu which generated a javascript file for me. I then modified the menu controls to control multiple iframes... now the error console in Firefox comes up each time. i have a suspicion that the javascripting required to control the multiple frames is causing an error, but am not too sure what i am looking at as far as whay the error console would be popping up (ironically it works in IE). see: www.jestley.com/dev

 

Please help :huh:

This is a Firefox quirk arising from linking to "java script:", where there's nothing following the colon.

 

However, it's kind of the wrong question anyway, as search engines will be entirely unaware of any pages that are linked to in such a manner. For the most part, if you're using frames or iframes, you're doing something wrong which will end in tears and frustration.

 

Look into PHP - if I weren't cramming a piece of toast into my face about to rush out the door, I'd be more helpful, but I'm sure somebody will tell you all about file includes :)

  • Author
if you want to simply void a link, add this:

 

java script:void(0);

 

 

Just what I needed... thanks.... i'm sure as the site develops, i'll be changing the coding all again.... this is only the third re-write... eventually i'll get to a stable platform (coffin)....

 

Cheers

If you've ever got javascript errors, this is a quality addon for firefox:

Firebug

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.