PDA

View Full Version : window.open() :- javascript



manashi_130582
04-25-2006, 10:17 AM
hi...

i hav created a link name CLICK...
when i wil click this link it should open a new window without title bar

the code that i hav written....


printf("<p><a href=\"#\" onClick=\"javascript:window.open('candidate_start.php?candidate_id=$stuid&qpaper_id=$qpid&groupid=$grpid', 'think_test',status=1,location=no,menubar=no,toolbars=no,scrollbars=yes ,fullscreen=yes'); return false;\">CLICK</a>");


if i am executing this code in windows its not giving the title bar but the same code for linux is showin the title bar....

my OS is linux...
what should i do to correct this problem..

Twey
04-25-2006, 03:04 PM
Perl, I take it?
I think this probably has more to do with the browsers you're using than the OS they're running under. Does this still happen using the same browser and the same version of the browser on both OSes?

manashi_130582
04-26-2006, 04:31 AM
My Os is linux and my browser is Mozilla Firefox
and on windows its internet explorer.....

Twey
04-26-2006, 06:39 AM
And if you install Firefox on Windows (the same version as you have running on your Linux distro) does the "problem" still happen? I think this is a security feature, not a bug, though.