If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: Javascript FAQ ::: Re-target "newwindow" links to the original window
New Topic    Add Reply
Topic: Re-target "newwindow" links to the original window  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
Nutrocker

ezboard Moderator
ezSupporter
Posts: 15900
Posted: 6/16/05 2:38 pm    
Re-target "newwindow" links to the original window
Summary: Some board's don't allow members to post links using the "newwindow" option. This retargets any links posted against the rules, making it pointless to break the rule.

FOOTER (box #4):
 
<script type="text/javascript">
/* RETARGET "newwindow" LINKS */
for (bl = 0; bl < document.links.length; bl++ ) {
    if ( document.links[bl].target == "top" ) {
          document.links[bl].target = "";
    }
}
/* END RETARGET "newwindow" LINKS */
</script>

History:
6/29/2003 - written by phalen180

Credits:
written by phalen180
suggested by Pokeman002


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - Javascript FAQ -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.