HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help!....major newbie....don't know jack about anything! Posted by Dawsfactor on 13 Apr 2004 at 5:22 AM
Hey folks well lets just say that im a total not know it all when it comes to creating websites...and so i use dreamweaver 4 atm working on getting the newest version at a date soon i hope!....but i require some assistance....

firstly i need to know how do i get my website to not resize itself at all regardless of the window state...or basically make my frames stay still....

and secondly i want drop down menu's as my navigator bar. i know it i think has a lot to do with java scripting....but yeah...

if someone could help you would be helping me out a bunch!...

thanks guys!...

josh!
Report
Re: Help!....major newbie....don't know jack about anything! Posted by GideonOmega on 13 Apr 2004 at 5:43 AM
: Hey folks well lets just say that im a total not know it all when it comes to creating websites...and so i use dreamweaver 4 atm working on getting the newest version at a date soon i hope!....but i require some assistance....
:
: firstly i need to know how do i get my website to not resize itself at all regardless of the window state...or basically make my frames stay still....
:
: and secondly i want drop down menu's as my navigator bar. i know it i think has a lot to do with java scripting....but yeah...
:
: if someone could help you would be helping me out a bunch!...
:
: thanks guys!...
:
: josh!
:


the only one I can help you with is the resizing, if you don't want the size of your site to ever change then you simply set all your width's and heights to absolute values i.e... 100 instead of 100% will make the object 100 pixels and if the page is resized then it will still be 100 pixels.

the only problem with this approch, is if someone has a higher or lower resolution then what you are using when you make the page then the page will look either to big or to small.

C:\Dos
C:\Dos Run
Run Dos Run


Report
Re: Help!....major newbie....don't know jack about anything! Posted by Weirdofreak on 14 Apr 2004 at 12:45 AM
This message was edited by Weirdofreak at 2004-4-14 0:45:50

<html>
  <head>
    <script language="javascript">
      function change(obj) {  
        tag = obj.getElementsByTagName('div')[0];
        if (tag.style.display == "block") 
          tag.style.display = "none";
        else
          tag.style.display = "block";
      }
    </script>
  </head>
  <body>
    <div click="change(this);">
      Stuff to mouseover, don't put a div here.
      <div style="display: none;">
        Menu to appear
      </div>
    </div>
    Other text, to end the div's reign of terror.
  </body>
</html>




Experiment with styles on the hidden div to get it in the right place, or to have it appear over other text instead of knocking it down.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.