Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

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

Posts: 71
Name: Carl Vardy
Trades: 0
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">
__________________

Please login or register to view this content. Registration is FREE
We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
 
Register now for full access!
Old 10-10-2006, 12:06 AM Re: Pop up window help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
<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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 10-10-2006, 07:35 AM Re: Pop up window help
Freeplayzone's Avatar
Skilled Talker

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

Please login or register to view this content. Registration is FREE
We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
Old 10-10-2006, 07:37 AM Re: Pop up window help
Freeplayzone's Avatar
Skilled Talker

Posts: 71
Name: Carl Vardy
Trades: 0
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
__________________

Please login or register to view this content. Registration is FREE
We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
Old 10-10-2006, 07:41 AM Re: Pop up window help
Freeplayzone's Avatar
Skilled Talker

Posts: 71
Name: Carl Vardy
Trades: 0
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
__________________

Please login or register to view this content. Registration is FREE
We've Got Your Game
Freeplayzone is offline
Reply With Quote
View Public Profile Visit Freeplayzone's homepage!
 
Old 10-10-2006, 10:06 AM Re: Pop up window help
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
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 Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.23459 seconds with 12 queries