PDA

View Full Version : Help with conditional


iow_bg
19 Dec 2009, 22:42
I am customizing the multi quote button. When I load the page, there is not a multi quote button showing but when I click that same area to select the option, the correct button shows up. After a few attempts, I am to the point that I need to ask what I am doing wrong?

This is coding I am using....



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Anybody have suggestions?

Thanks
Bill

Lynne
19 Dec 2009, 22:54
I don't understand exactly what you mean. You realize the images are put there by css? So, perhaps you haven't touched the css for the button.

iow_bg
19 Dec 2009, 23:13
Lynne,

Yes, I removed the CSS backgrounds and added the <img src=.... right after link code.

What I am trying to accomplish is basically the same coding that is in VB 3.8 but with out the tables.

This is the current 3.8.4 code...


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Lynne
19 Dec 2009, 23:20
I am pretty sure the stuff dealing with the buttons is all javascript. Try a search in the javascript files to find where the image comes from and then modify the javascript files. (Sorry, I don't help on javascript issues as I'm NOT very good with it.)

derfelix
20 Dec 2009, 03:45
I agree with lynne.. I suggest you download the uncompressed version (can be selected when downloading vbulletin). Then you can get a look at what the javascript does.
But be aware that using background images in css is much better.. because they get cached in a much better way and more search engine friendly because not there for them.
F.

iow_bg
20 Dec 2009, 14:31
Thanks for the replies... I did revert them back to using the CSS.