Results 1 to 3 of 3

Thread: Question for DDadmin

  1. #1
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Question for DDadmin

    http://www.dynamicdrive.com/dynamici...etswitcher.htm

    Hi,
    I am wondering about your conclusions regarding the
    stylesheet switcher code fix that you did the other day.
    Is your patch a bug fix, or what?
    Also, can you please add a random or rotating stylesheet
    selection to the script?
    Thanks,
    MikeE

  2. #2
    Join Date
    Aug 2004
    Posts
    10,140
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Just for the sake of other people reading this thread, you're referring to this thread. I'll have to take a look at the problem again later this week, but yes, most likely, there will be changes to the Style sheet switcher script on DD. I'll take into consideration your suggestions as well.

  3. #3
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ddadmin,

    Thank you so much. I will be using the script; and know that random is a highly desirable item. I updated mine according to your fix, but i'm unsure if I updated the script correctly.

    Some dude named kevin gave me a php stylesheet random/rotate a while back, and you are welcome to use it, to develop it, if you'd like.
    <pre> <link rel="stylesheet" type="text/css" href="<?php
    $stylesarray = array("css/24a","css/24b","css/24c","css/24d","css/24e","css/24f");echo $stylesarray[mt_rand(0,count($stylesarray)-1)];?>.css" />
    </link> </pre>

    We ended up developing this, a very good example of a pulldown with random selector, also php, top right: http://ezportal.org

    Mike

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
  •