SitePoint Sponsor

User Tag List

Results 1 to 15 of 15
  1. #1
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Another simple question

    Hi,

    I'm trying to make my heading text 'flash' in dreamweaver....can anyone help me with this?

    Cheers
    S

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,804
    Mentioned
    157 Post(s)
    Tagged
    3 Thread(s)
    flash as in change colour or flash as in the program?
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Change colour...

    Cheers

  4. #4
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Create an animated .GIF or use <blink></blink> (not sure what browsers support it).

  5. #5
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,457
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Are you sure this is a good thing to do snowyriver?

    Egor, I believe <blink> is not a standard HTML tag!
    it works in FF but not it in IE! also in Netscape it could cause the whole page to blink!

  6. #6
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,804
    Mentioned
    157 Post(s)
    Tagged
    3 Thread(s)
    quick bit of Javascript should do it....
    Code:
    <body onload="changeColour('blinky');">
    <script type="text/javascript"><!--
    function changeColour(elementId) {
    	var interval = 500;
    	var colour1 = "#ff00ff", colour2 = "black";
    	if (document.getElementById) {
    		var element = document.getElementById(elementId);
    		element.style.color = (element.style.color == colour1) ? colour2 : colour1;
    		setTimeout("changeColour('" + elementId + "')", interval);
    	}
    }
    //--></script>
    <p id="blinky">This should change colour</p>
    Spike
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  7. #7
    SitePoint Wizard boxhead's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    1,040
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    don't!
    monkey - the rest is history

  8. #8
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,804
    Mentioned
    157 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by boxhead
    don't!
    I only answer the questions but yes I agree!
    (that is if you are referring to not using flashing text and not to using my javascript......)
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  9. #9
    SitePoint Wizard boxhead's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    1,040
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by spikeZ
    I only answer the questions but yes I agree!
    (that is if you are referring to not using flashing text and not to using my javascript......)
    The Javascript is beautiful, blinking text is not!
    monkey - the rest is history

  10. #10
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation

    Quote Originally Posted by snowyriver
    I'm trying to make my heading text 'flash' in dreamweaver....can anyone help me with this?
    ... or use CSS like I do it on my own index.html page:

    Code:
    <div class="blink">text to blink</div>
    ... and the code for the head (or an external .css file):

    Code:
    div.blink {
        text-decoration: blink;
    }
    hth, satyr
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  11. #11
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,804
    Mentioned
    157 Post(s)
    Tagged
    3 Thread(s)
    cant see any blinking text on your page satyr, and AFAIK that doesn't work in all browsers.
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  12. #12
    SitePoint Addict
    Join Date
    May 2006
    Posts
    399
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice effort tho

  13. #13
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    Quote Originally Posted by spikeZ
    cant see any blinking text on your page satyr, and AFAIK that doesn't work in all browsers.
    Really?? Because in my case (on my computer) it works in Firefox and in Internet Explorer. /UPDATE: Oh well I just checked: it works only in Firefox ...


    satyr
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  14. #14
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,804
    Mentioned
    157 Post(s)
    Tagged
    3 Thread(s)
    Never mind satyr! live and learn
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  15. #15
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It blinks on in firefox. Not in IE and opera. Also a horizontal and vertical scroll bar appears in firefox and opera but not in IE.
    Kirtan


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
  •