Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-03-27, 09:18 AM   #1
mniki
Just because I don't care doesn't mean I don't understand!
 
mniki's Avatar
 
Join Date: Nov 2004
Location: Yugoslavia
Posts: 94
Send a message via ICQ to mniki
Question Need help with HTML

Heloo

Have a quick question about html,
Is it possible to open a link in new window fixed size (400x200) and fixed position (top left corner) using just html commands or css and not java script.
If yes please tell how
thx in advance
mniki is offline   Reply With Quote
Old 2005-03-27, 11:47 AM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
does it need to be an actual window/new browser? or can it be CSS/dhtml that presents a box as a layer over the existing page?
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-03-27, 01:24 PM   #3
mniki
Just because I don't care doesn't mean I don't understand!
 
mniki's Avatar
 
Join Date: Nov 2004
Location: Yugoslavia
Posts: 94
Send a message via ICQ to mniki
I am fine with any solution as long as it doesnt conatain java, CSS/dhtml would be ok
mniki is offline   Reply With Quote
Old 2005-03-27, 02:18 PM   #4
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Out of curiosity, why not use Java?
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-03-27, 05:34 PM   #5
mniki
Just because I don't care doesn't mean I don't understand!
 
mniki's Avatar
 
Join Date: Nov 2004
Location: Yugoslavia
Posts: 94
Send a message via ICQ to mniki
I am happy with java but since I have installed sp2 for win xp I get annoying msg " this may couse damage to your comp..... blah blah ". Well I know It won't but don't know how average surfer will react to the msg, so I am trying ti find different methods for doing things without java
mniki is offline   Reply With Quote
Old 2005-03-27, 06:31 PM   #6
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
That message should only apear when the document is on your pc. Once you upload it to your server the message should be gone. What you really need to worry about from SP2 is the built in pop-up blocker.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-03-27, 08:02 PM   #7
mniki
Just because I don't care doesn't mean I don't understand!
 
mniki's Avatar
 
Join Date: Nov 2004
Location: Yugoslavia
Posts: 94
Send a message via ICQ to mniki
yes I know It has. Personly I dont like pop ups but must admit from AW point of view sometimes are very usefull. This brings me to another question Is it allowed to use pop up blocker override on free sites submitted to LL and TGP? Didnt tried any but think I have seen some offered at maxcash site
mniki is offline   Reply With Quote
Old 2005-03-27, 08:30 PM   #8
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Free sites and and galleries aren't allowed to use pop-ups of any kind so a script to override a pop-up blocker would be senseless. Never ever ever use pop-ups on pages that you want listed.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2005-03-27, 08:39 PM   #9
mniki
Just because I don't care doesn't mean I don't understand!
 
mniki's Avatar
 
Join Date: Nov 2004
Location: Yugoslavia
Posts: 94
Send a message via ICQ to mniki
Knew that, reading LL rules before posting, just wanted to be sure
mniki is offline   Reply With Quote
Old 2005-03-28, 02:19 PM   #10
raymor
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
Join Date: Jan 2004
Posts: 178
Send a message via ICQ to raymor
Quote:
Originally Posted by mniki
I am fine with any solution as long as it doesnt conatain java, CSS/dhtml would be ok
You are confusing Java and Javascript, which is of course
what was intended when netscape renamed LiveScript JavaScript.
In fact they are totally and completely unrelated.
JavaScript will not bring up a Java security wanring.
__________________
Ray Morris
support@bettercgi.com
Strongbox/Throttlebox & more
TXDPS #A14012
raymor is offline   Reply With Quote
Old 2005-03-28, 02:26 PM   #11
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by mniki
Heloo

Have a quick question about html,
Is it possible to open a link in new window fixed size (400x200) and fixed position (top left corner) using just html commands or css and not java script.
If yes please tell how
thx in advance
Somewhere along the way we forgot to answer your initial question and I just realized that you aren't looking for a pop-up window at all. You just want a link to open in a new small window. Right?

If so, this is what you are looking for:
Code:
<a href="#" onClick="Default =window.open('page_name.html','Default','menubar=yes,scrollbars=yes,resizable=no,width=400,height=200'); return false;">Link Text</a>
Just replace 'page_name.html' with the name of the document you want to open and adjust the width and height accordingly.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Reply


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

Forum Jump


All times are GMT -4. The time now is 10:30 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc