Reply
Pop up window help
Old 10-09-2006, 09:37 PM Pop up window help
Freeplayzone's Avatar
Skilled Talker

Posts: 71
Name: Carl Vardy
I was hoping some one could help me. Is there away to make pop up windows without using javascript.

here's what i'm using now is these another way

<a href="#" onClick="javascript:window.open('onlinegames/creepycrossword/CreepyCrossword.htm', 'pop1win', 'toolbar=no scrollbars=no')"><img src="onlinegames/creepycrossword/creepycrossword.gif" width="84" height="50" border="0" alt="Creepy Crosswords"></a></font></td>
<td width="79%" height="47">
__________________
Free Play Zone We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
When You Register, These Ads Go Away!
Old 10-10-2006, 01:06 AM Re: Pop up window help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
<a href="your_window_url_here.html" target="_blank">Your link here</a>

This works in everything except for XHTML Strict. There's a doctype that supposedly allows for this but I've never fully understood it.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-10-2006, 08:35 AM Re: Pop up window help
Freeplayzone's Avatar
Skilled Talker

Posts: 71
Name: Carl Vardy
Thanks that works great now Does any one know how to the window property's
when you are opening it.
__________________
Free Play Zone We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
Old 10-10-2006, 08:37 AM Re: Pop up window help
Freeplayzone's Avatar
Skilled Talker

Posts: 71
Name: Carl Vardy
Thanks that works great now Does any one know how to the window property's
when you are opening it.

heres the code i'm using
__________________
Free Play Zone We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
Old 10-10-2006, 08:41 AM Re: Pop up window help
Freeplayzone's Avatar
Skilled Talker

Posts: 71
Name: Carl Vardy
Thanks that works great now Does any one know how to the window property's
when you are opening it.

heres the code i'm using

<a href="SuperCollapse3.htm" target="_blank">Super Collapse 3</a>

heres what i was using

<a href="#" onClick="javascript:window.open('onlinegames/creepycrossword/CreepyCrossword.htm', 'pop1win', 'toolbar=no scrollbars=no')">

how do i add that to my new code

your help is greatly appreciated
__________________
Free Play Zone We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
Old 10-10-2006, 11:06 AM Re: Pop up window help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
You can't, actually. Target="_blank" is a frame command. The other properties are Javascript-specific.

If you need those properties, then about the only other thing you can do is to do something like this (CODE HAS NOT BEEN CHECKED...that's up to you):
Code:
function loadNewLink(webLink) {
     var newWindow = window.open (webLink, 'pop1win','toolbar=no,scrollbars=no');
}
...
...
...
<a href="onlinegames/creepycrossword/CreepyCrossword.htm" onclick="loadNewLink(this); return false">
The (this) passes whatever's in the href part. This covers people who do and do not have Javascript enabled, so everyone's helped.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Pop up window help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13029 seconds with 12 queries