View Full Version : Need help with HTML
mniki
03-27-2005, 09:18 AM
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
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?
mniki
03-27-2005, 01:24 PM
I am fine with any solution as long as it doesnt conatain java, CSS/dhtml would be ok
Useless Warrior
03-27-2005, 02:18 PM
Out of curiosity, why not use Java?
mniki
03-27-2005, 05:34 PM
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
Useless Warrior
03-27-2005, 06:31 PM
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.
mniki
03-27-2005, 08:02 PM
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
Useless Warrior
03-27-2005, 08:30 PM
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.
mniki
03-27-2005, 08:39 PM
Knew that, reading LL rules before posting, just wanted to be sure
raymor
03-28-2005, 02:19 PM
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.
Useless Warrior
03-28-2005, 02:26 PM
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:
<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.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.