Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsWeb Design & DevelopmentClient Side ScriptingJavaScript right
left right
P3D1G0
post Aug 3 2010, 05:00 PM
Post #1


Ninja
***

Group: Members
Posts: 162
Joined: 26-October 07
Member No.: 1,917



How's it going? So I was needing a little script that doesn't just generate a pop up, but when the link is clicked, the pop up appears and as well, it will direct the user to a new page. I don't have an example but know I've seen it other places.

I use a code similar to this:
CODE
<a href="http://www.yourweblog.com/yourfile.html" onclick="window.open('http://www.yourweblog.com/yourfile.html','popup','width=500,height=500,
scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,stat
us=no,left=0,top=0'); return false">About</a>


But have also looked at scripts where the javascript is included in the header. I'm not sure what would be a better source?
Go to the top of the page 
 
  + Quote Post

Posts in this topic

 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 19th May 2013 - 11:33 AM