-
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
-
-
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.
-
-
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks