![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
SO FUCKING SCAMMED
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,383
|
Wordpress help please
I am wanting to create a category dropdown list outside of the widget area so added:
Code:
<?php wp_dropdown_categories( $args ); ?> <script type="text/javascript"> /* <![CDATA[ */ var dropdown = document.getElementById("cat"); function onCatChange() { if ( dropdown.options[dropdown.selectedIndex].value > 0 ) { location.href = "http://mysite.com/?cat="+dropdown.options[dropdown.selectedIndex].value; } } dropdown.onchange = onCatChange; /* ]]> */ </script> Grateful of any help, thanks <3
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
SO FUCKING SCAMMED
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,383
|
Figured it out, but thanks for looking :D
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |