We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Move Prefix Drop Down to the top of Topic Title
Topic Started: Jul 25 2012, 10:32 AM (504 Views)
tobeme
Member Avatar
Member
[ *  * ]
Following the "Prefix Dropdown" by VMSimon http://resources.zetaboards.com/topic/5095694/1/#new , is it possible to move the prefix drop down to the top above the topic title ?

Posted Image

Also, can the word "prefix" (the description) be shown in a different color, for instance: red, as a highlight?

Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Change the following:
Code:
 
$('tr:contains("Topic Tags")').after("<tr><td class='c_desc'>Prefix</td><td><select name='prefix' id='prefix'><option val='0'>None</option></select></td></tr>");
to the following:
Code:
 
$('tr:contains("Topic Title")').before("<tr><td class='c_desc' style="color:red">Prefix</td><td><select name='prefix' id='prefix'><option val='0'>None</option></select></td></tr>");

The portion that says style="color:red" can be changed to a hexadecimal value (#ff0000 is default red).
Offline Profile Goto Top
 
tobeme
Member Avatar
Member
[ *  * ]
The codes don't seem working. When I replaced with the new codes, the drop down didn't show up...
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

tobeme
Jul 25 2012, 11:39 AM
The codes don't seem working. When I replaced with the new codes, the drop down didn't show up...
The first code is a line from the whole script from the Topic Prefixes topic. Replace that line in the code with the latter.
Offline Profile Goto Top
 
tobeme
Member Avatar
Member
[ *  * ]
Hi DaPizzaMan

It seems that the color style doesn't work here. After I took that code style="color:red" out, the title prefix has been moved to the top and is working perfectly. I can have that without the color.

Your help is appreciated.

Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

My mistake. If you would like the red colored text, try changing the " to ' (quotation mark to apostrophe). If that doesn't work then I'm not entirely sure what the problem could be.
Offline Profile Goto Top
 
tobeme
Member Avatar
Member
[ *  * ]
DaPizzaMan.

It's working like a charm after replacing " with '.

Thanks for your help!!!!
Offline Profile Goto Top
 
Steve
Member Avatar
patriot
[ *  *  *  *  *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic