Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Aug 2004, 08:14
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Real name: Michael Morris
I need a little help

I'm needing to setup a button based quickstyle chooser instead of the standard dropdown menu (basically I have 5 styles that have icons for them). I've found that <a href="?styleid=X"><img src="location of the icon"></a> works, but I need to find a variable that contains the location of the current page, or create one in the phpinclude_start template.
Reply With Quote
  #2  
Old 26 Aug 2004, 08:35
Logikos Logikos is offline
 
Join Date: Jan 2003
For the image? <img border="0" src="$stylevar[imgdir_misc]/location of the icon.gif" alt="" />

And add the icons per images/misc dir.

Or hardcode the img. <img border="0" src="http://www.you.com/forum/images/misc/icon.gif" alt="" />
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
  #3  
Old 26 Aug 2004, 09:00
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Real name: Michael Morris
Nevermind - figured it out.

<a href="$forumdisplay.php?$foruminfo[forumid]&styleid=X">link to style X</a>

@ Livewire Thx, but that wasn't what I was trying to figure out. I have a page that has five of the styles linked with icons in the header, so I needed to link the styles up.

Last edited by Michael Morris; 26 Aug 2004 at 09:03.
Reply With Quote
  #4  
Old 26 Aug 2004, 20:01
Logikos Logikos is offline
 
Join Date: Jan 2003
Glad you got it working.
__________________
Full Time PHP Developer
Please feel free to contact me if you have any paid work to be done.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:02.

Layout Options | Width: Wide Color: