www.webdeveloper.com
Results 1 to 6 of 6

Thread: span tag in HTML

  1. #1
    Join Date
    Mar 2007
    Location
    Hyderabad
    Posts
    7

    Exclamation span tag in HTML

    Hai Friends,

    in a jsp page i have this code:

    "<span class="leftMenu"
    onmouseover="this.className='hover'"
    onmouseout="this.className='nohover'"
    onclick="window.open('LMS-Help/LMS-Menu.htm')">
    Help
    </span>"

    when i click the link - Help a new window is opening with it's default width and height but here my requirement is to get the window size as of the normal window of the the screen so what attributes i need to mention here to get this feature.

    please give me the reply as early as possible.

    i will be greateful to you.

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    Sounds like you've got some OTHER javascript causing that error. Normally, windows open, by default, the size of the screen. Without a link or some code, it's hard to tell.

    You might take a look at this tutorial for some help:
    http://www.htmlgoodies.com/beyond/ja...le.php/3471221
    FYI
    * My screen resolution is set at 1680x1050
    * I'm accessing your site through a T1 line
    * I'm probably viewing it using Firefox (unless browser is specified)

  3. #3
    Join Date
    Mar 2007
    Location
    Hyderabad
    Posts
    7
    Yes KDLA, The url mentioned looks good to implement.
    Thankyou very much for your help.

    Phani.

  4. #4
    Join Date
    Apr 2007
    Location
    Acton Ontario
    Posts
    84
    Dont use JS for links, people who disable JS wont be able to go around your site at all.
    just have a and a:hover instead of nohover andhover
    - Ryan "Boxxertrumps" Trumpa.

  5. #5
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    Quote Originally Posted by KDLA
    Sounds like you've got some OTHER javascript causing that error. Normally, windows open, by default, the size of the screen. Without a link or some code, it's hard to tell.

    You might take a look at this tutorial for some help:
    http://www.htmlgoodies.com/beyond/ja...le.php/3471221
    There is a lot of really bad information on the web especially about HTML. And nothing is worse than the HTML Goodies site. It's full of inaccurate and incomplete information and that page cited is no exception. Stay far and away from HTML Goodies.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  6. #6
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    Joe Burns who wrote the original HTML Goodies site up until a couple of years ago originally taught himself HTML by trial and error and little of any of how he did things is appropriate for today's standards. That site should either be shut down or all of the pages should carry a warning notice that:

    This is the way some people wrote their web pages back in prehistoric times.
    Stephen

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles