Results 1 to 4 of 4

Thread: Javascript Change Style

  1. #1
    Join Date
    Sep 2009
    Posts
    57

    Javascript Change Style

    I would like to know that is it possible for me to make a a invisible table inside a <DIV> tag in a HTML? Is there any way by which i can change style in javascript? Has anybody knows how can i do it? Please provide me the correct solution.

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: Javascript Change Style

    You can use any number of style sheets, which are automatically detected by the script. Many programmers use Javascript in wep pages, but they can also create bookmarklets these extend the functinality of a web browser without even needing a web page. Optional alerts are included. Setup is easy and straightforward to use.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Javascript Change Style

    You'll want to use style="visibility: hidden" to start off with. For cross-browser compatibility you might want to look at trying visibility and or display. Javascript Document Object Modeling provides the functionality to change the CSS style class name of the HTML div tag dynamically. You might have to use one or both to get the results you want.

  4. #4
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Javascript Change Style

    You can access the HTML div element using document.getElementById method to change the CSS classname property of the Div tag. The only downside to using "#" as a 'null' in the href attribute is that it will cause the browser to jump to the top of the page.

Similar Threads

  1. How to change visual style of the window in Skype
    By Ooopinder in forum Technology & Internet
    Replies: 4
    Last Post: 21-06-2011, 10:28 AM
  2. How to change contents of window through JavaScript
    By Arrosa in forum Software Development
    Replies: 5
    Last Post: 08-02-2011, 07:01 PM
  3. Cufon javascript replace isn't replacing the correct style in my
    By Luis-Fernando in forum Software Development
    Replies: 6
    Last Post: 18-05-2010, 12:25 AM
  4. How to make the javascript style visible
    By Shutdown in forum Software Development
    Replies: 3
    Last Post: 04-08-2009, 08:48 AM
  5. How to change style sheet for iframe?
    By Jaishree in forum Software Development
    Replies: 2
    Last Post: 20-06-2009, 12:49 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,499,394.75253 seconds with 17 queries