Advanced Search

Page 4 of 4 FirstFirst ... 234
Results 31 to 33 of 33

Thread: How to add style to a script

  1. #31
    Join Date
    May 2012
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John....

    Thanks...this looks very easy but I can't get it to work...

    Should I take the two external scrips links ...css and js off the page....or is there a way to comment them...

    and take the 5 messages off too and then add back one with the closing div?

    Thanks..Ponder

  2. #32
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    27,544
    Thanks
    42
    Thanked 2,878 Times in 2,850 Posts
    Blog Entries
    12

    Default

    No. Keep the css. Take away the javascript, both the one on the page:

    Code:
    <script type="text/javascript">
    new pausescroller("pscroller2", "someclass", 2000)
    </script>
    and the external tag linking to the one off the page:

    Code:
    <script src="pausescroller.js" type="text/javascript">
    
    /***********************************************
    //* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
    //* This notice MUST stay intact for legal use
    //* Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    
    </script>
    I'm not sure I understand what you're saying about the markup. With that you leave everything except the content that you do not want. So if you have:

    HTML Code:
    <div id="pscroller2">
    <span><center><font color=#ffffff> Call, Click or Live Chat if you have a question and would like some help</font color></center></span>
    <span><center><font color =#ffffff>Bring your older water feature to life with a Pond Renovation</font color></center></span>
    <span><center><font color =#ffffff>We can help you size your equipment for Low Maintenance & Clear Water</font color></center></span>
    <span><center><font color =#ffffff>Building your own pond ? .. Get our Professional Help & Advice as you go along</font color></center></span>
    <span><center><font color =#ffffff>Schedule a Full Cleaning ... your feature will look like new again</font color></center></span>
    </div>
    And you just want the one about "Schedule a Full Cleaning", make it like so:

    HTML Code:
    <div id="pscroller2">
    <span><center><font color =#ffffff>Schedule a Full Cleaning ... your feature will look like new again</font color></center></span>
    </div>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #33
    Join Date
    May 2012
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That's perfect John...

    Thank You so Much.......

    Ponder..

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
  •