SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Apr 2010
    Location
    New Delhi
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Marquee displaying logos with PHP-MySQL not working in Chrome

    Url: http://www.renaissancecapital.in/

    Logos displayed with the help of marquee tags are not being displayed properly in Chrome, it snaps after 6th logo. The logos are being retrieved from database with the help of PHP-MySQL.

    But the same works perfectly fine in IE and Firefox.

    Unable to locate the problem

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,872
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The problem is that you are using <marquee> which is not a valid HTML tag. It is a proprietary Microsoft tag that for some unexplainable reason Firefox has decided to support.

    The scrolling that a marquee performs is a behaviour and so is something that should be applied from JavaScript and not HTML.

    See http://www.felgall.com/jstip109.htm for a script that can easily be incorporated to create as many marquees as required that will work in all browsers using standard HTML.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Member
    Join Date
    Apr 2010
    Location
    New Delhi
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the response... highly appreciated.
    But the more confusion lies in the fact that exactly same tag, when used with HTML only... works very well in chrome at: www.indiapropertymartuae.com !

  4. #4
    SitePoint Member
    Join Date
    Apr 2010
    Location
    New Delhi
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It doesn't seem to be compatible with this script... test URL: http://www.renaissancecapital.in/indexm.php
    Maybe because it contains tables to display info, that has being retrieved from the database ?

  5. #5
    SitePoint Enthusiast
    Join Date
    Apr 2009
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use this script.
    Code:
    http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm


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
  •