|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
i'm building a website in dreamweaver for a friend and he wanted the browser to
resize to a specific size once the user goes to the site. the script i have now works fine, but then when i go to another page, the browser bounces out and then resizes. is there a script that would just keep the browser the same size without having to bounce out? thanks. here's the link to view the issue yourself. http://www.ohhello.tv/index2.html and click on any of the left side nav links to see the browser quickly bounce out and then resize. thanks. <SCRIPT> window.resizeTo(724,1000); </SCRIPT> <SCRIPT LANGUAGE="javascript"> var width = screen.width var height = screen.height document.write("<body onUnload=window.resizeTo("+width+ "," +height+")>") </SCRIPT> |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
How rude.
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "oiruop" <webforumsuser@macromedia.com> wrote in message news:fpki5e$2f5$1@forums.macromedia.com... > i'm building a website in dreamweaver for a friend and he wanted the > browser to > resize to a specific size once the user goes to the site. the script i > have now > works fine, but then when i go to another page, the browser bounces out > and > then resizes. is there a script that would just keep the browser the same > size > without having to bounce out? thanks. > > here's the link to view the issue yourself. > http://www.ohhello.tv/index2.html > > and click on any of the left side nav links to see the browser quickly > bounce > out and then resize. thanks. > > <SCRIPT> > > window.resizeTo(724,1000); > > </SCRIPT> > > > <SCRIPT LANGUAGE="javascript"> > > var width = screen.width > > var height = screen.height > > document.write("<body onUnload=window.resizeTo("+width+ "," +height+")>") > > </SCRIPT> > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
..oO(oiruop)
>i'm building a website in dreamweaver for a friend and he wanted the browser to >resize to a specific size once the user goes to the site. He's the only one. Nobody else wants that, especially not the visitors of his site. Do _them_ a favour and drop the script. Additionally in many modern browsers such scripts won't work at all, because the browsers prevent such rude manipulations of the user's surfing environment. There are things you simply shouldn't touch. >the script i have now >works fine, but then when i go to another page, the browser bounces out and >then resizes. is there a script that would just keep the browser the same size >without having to bounce out? thanks. I like my browser to stay in _my_ chosen size. And since it's a good browser, it does exactly that. > here's the link to view the issue yourself. http://www.ohhello.tv/index2.html All I see are images. Where's the website? Seriously: You should not only drop the script, but the entire site and start again. There's not a single piece of usable content on that site! Get a book and learn some basics of HTML and CSS first. Micha |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
i'm not the cd on this site. they just asked me to build it to their specs. i
told them that it should be redesigned but whatever. as far as content goes, the site is still in build and not completed yet. |
|
![]() |
| Outils de la discussion | |
|
|