Click to See Complete Forum and Search --> : what's the best way to show my site?
shtickey
05-29-2003, 06:11 PM
newbie here...
I'd like to have my site viewable to as many people as possible.The java window.open seems to have a problem with friends who work in offices- i guess popstoppers.
i have this code from one of the guru's on the site (thanks)
<p><font face="Times New Roman, Times, serif"><a href="STKsite.html"
onclick="window.open(this.href, 'child', 'height=768,width=1024');
return false">Enter, best viewed in 1024 X 768.</a> </font>
is there a way to make this viewable in the same window with a 1024 X 768 page so that the javablocked systems can look at it? do those systems block java completely? what can I do? is there a way to make it work for both?
shtickey
05-29-2003, 09:29 PM
ok-awesome. now to proove my newbieness...do I add that after the body colors...like this.
<BODY bgcolor="#FFFFFF" link="#660000" vlink="#660000" alink="#660000"><body
onload="window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);"
onresize="window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);">
or do I add it into the second html page? with my flash object
and avail is more used right as screen.width is larger than avail? I know some people dont like full screen.
by the way Dave Clark...THANKS!!!!! I am going to mess around with it a bit.
shtickey
05-29-2003, 10:46 PM
THANKS! you are the man.:) btw sorry for the bother with newbie stuffs.
<BODY bgcolor="#FFFFFF" link="#660000" vlink="#660000" alink="#660000"
onload="window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);"
onresize="window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);return=false">
i added the return=false so that it could be made smaller by the user. It seems to work.
so if I understand this correctly, the java diabled users will just have to resize their windows and possibly miss some content...
right? I guess that is better than not getting in at all.
shtickey
05-31-2003, 11:34 AM
99% :D
1% :confused:
Thanks mucho Dave Clark- It is working! I am grateful.
I have one friend who works in a stock brokers firm who can't access the site.
from reading the posts I am guessing that he has IE6 with something that prevents resize. (any window altering java scripts.)
what do you suggest I do- I really like how the page resizes, and don't want to sacrifice that aspect.
I'll check the posts and my handy book for stuff like (in flash the if/else statements to try to figure out an if "there is no java" then goto this link (one w/out the resize command or maybe if "there is no java" ..."ignore the resize command")- but in case I am way off target, is this possible to do?
many thanks
Shtickey
shtickey
05-31-2003, 02:15 PM
Must be tight security software - he's on Netscape, but I've only had trouble with one other person-
waiting for error alert msg-thanks again for your help.
S:D
oh the site photos were mine- hope you dug em.