HighDots Forums  

Request for help from a beginner

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Request for help from a beginner in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Artemida2
 
Posts: n/a

Default Request for help from a beginner - 11-07-2004 , 06:01 AM






Hello.

I am a total beginner at html and I have just created a company profile web
page in order to put it in a cdrom and use it as a company presentation.

I have already managed the autorun thing, but I want the .html page that
"autoruns" to open in full screen mode, just with the x button on top.

Now I have tried to add some javascript that I found while searching the web
but it doesn' t seem to work!
Can anyone help me?

Thnx


Reply With Quote
  #2  
Old   
Pablo
 
Posts: n/a

Default Re: Request for help from a beginner - 11-07-2004 , 10:02 AM






Try this, I'm not sure it will work btw, paste it into the head of your
document:


<SCRIPT LANGUAGE="JavaScript">
if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen ,scrollbars')
}
</script>



"Artemida2" <webforumsuser (AT) macromedia (DOT) com> a écrit dans le message de news:
cmkv9t$iop$1 (AT) forums (DOT) macromedia.com...
Quote:
Hello.

I am a total beginner at html and I have just created a company profile
web
page in order to put it in a cdrom and use it as a company presentation.

I have already managed the autorun thing, but I want the .html page that
"autoruns" to open in full screen mode, just with the x button on top.

Now I have tried to add some javascript that I found while searching the
web
but it doesn' t seem to work!
Can anyone help me?

Thnx




Reply With Quote
  #3  
Old   
Loveanie
 
Posts: n/a

Default Re: Request for help from a beginner - 01-06-2005 , 07:11 PM



You can also add this code instead

<body onLoad="window.open('YOUR FILE OR
URL','','fullscreen=yes',scrollbars=no')">

With this code, you'll have a fullscreen... Without any possibility to close
it except using Alt+F4...

If you want the people to close it, you can add a close button inside your
destination page (a button or an image) with this code in it:

Example:
<input type="button" value="X" name="Close" onClick="window.close()">

Nelson Therrien


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Request for help from a beginner - 01-06-2005 , 07:18 PM



How rude is that?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Loveanie" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
You can also add this code instead

body onLoad="window.open('YOUR FILE OR
URL','','fullscreen=yes',scrollbars=no')"

With this code, you'll have a fullscreen... Without any possibility to
close
it except using Alt+F4...

If you want the people to close it, you can add a close button inside your
destination page (a button or an image) with this code in it:

Example:
input type="button" value="X" name="Close" onClick="window.close()"

Nelson Therrien




Reply With Quote
  #5  
Old   
Gary White
 
Posts: n/a

Default Re: Request for help from a beginner - 01-06-2005 , 08:40 PM



"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
How rude is that?

Not terribly because it will fail in a lot of (maybe most) cases. It's only
rude when it works. ;-)

Gary




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.