Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Software & Tech » Software » SMF » Need help with a bit of code
Reply
 
LinkBack
Old 12-20-2006, 06:09 AM   #1
Apprentice
 
Rocket 442's Avatar
 
Join Date: Jul 2006
Location: Buffalo, NY
Posts: 496
Rocket 442 is a splendid one to beholdRocket 442 is a splendid one to beholdRocket 442 is a splendid one to beholdRocket 442 is a splendid one to beholdRocket 442 is a splendid one to beholdRocket 442 is a splendid one to beholdRocket 442 is a splendid one to behold
Send a message via AIM to Rocket 442 Send a message via MSN to Rocket 442
Need help with a bit of code

Not sure if I should put this here or in the SMF sub-forum, so sorry mods if you have to move it.

I have www.fbodyonline.com with a m3talc0re theme "Musiconica". I want to add a few links in the top under the header, but in a bit different way. Just like this:


I am not a good coder, AT ALL. If someone can give me the code to be able to add another pull down like that I would be extremely happy.

I want it for this; I have installed the custom action mod, and want to use this pulldown to show the links to those pages like these:
http://www.fbodyonline.com/index.php...camarohistory1


So someone can click this link, and then it shows a pulldown, with the "Camaro history" link and others. I can fill in the links no problem, i just dont know where to start witht he code, and I can't even find it in the files.



So it would pulldown, then i can put a link for that page, and others in it. Again, I really really suck :-[ at coding, so If someone could spell this out for me I'd be extremely happy



EDIT: heres the code for the original pulldown. I'm not sure whats going on enough to do another one myself
Code:
	// How about the [quick links] button?

	if ($context['user']['is_logged'])

		echo '

				<td class="main-navigation"><a href="', $scripturl, '#quicklinks" onClick="return overlay(this, \'quicklinks\',\'bottomright\')">Quick Links<img src="', $settings['images_url'], '/search_down.gif" width="10" height="10" /></a>

				<!--Do not remove outer most DIV tag with id="quicklinks"-->

<DIV id="quicklinks" style="position:absolute; border: 2px solid #3d3d3d; background-color: white; width: 150px; padding: 2px; display:none">

	<table width="100%" border="0" cellpadding="0" cellspacing="1">

		<tr>

			<td class="catbg" height="20" align="left" valign="middle" style="color:#ffffff;">Quick Links</td>

		</tr>

		<tr>

			<td height="20" align="left" valign="middle" class="windowbg"><a href="', $scripturl, '?action=unread">New Posts</a></td>

		</tr>

		<tr>

			<td height="20" align="left" valign="middle" class="windowbg"><a href="', $scripturl, '?action=unreadreplies">New Replies</a></td>

		</tr>

		<tr>

			<td class="catbg" height="20" align="left" valign="middle" style="color:#ffffff;">User Settings</td>

		</tr>

		<tr>

			<td height="20" align="left" valign="middle" class="windowbg"><a href="', $scripturl, '?action=profile">View Profile</a></td>

		</tr>

		<tr>

			<td height="20" align="left" valign="middle" class="windowbg"><a href="', $scripturl, '?action=profile;u=', $context['user']['id'], ';sa=account">Account Settings</a></td>

		</tr>

		<tr>

			<td height="20" align="left" valign="middle" class="windowbg"><a href="', $scripturl, '?action=profile;u=', $context['user']['id'], ';sa=forumProfile">Edit Profile</a></td>

		</tr>

	</table>

<div align="right" style="font-size:10px;"><a href="#" onClick="overlayclose(\'quicklinks\'); return false">[Close]</a></div>



</DIV>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Check out
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for all your vBulletin SEO Questions & Tips

There is always someone faster, and in your case, that someone is Me
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Rocket 442 is offline   Reply With Quote
Reply


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

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
If i design and you code? Dan Gamble Graphics and Design 3 08-30-2006 09:49 AM
Need some PHP/MySQL help: Code inside BamaStangGuy vBulletin 6 06-23-2006 07:40 PM
Australia registers world's first anti-spam code of practice shellspeare Off Topic 0 03-29-2006 07:37 AM
Open Source Clone of Windows Not a Ripoff? shellspeare Graphics and Design 0 03-01-2006 08:10 AM

AdminFusion

All times are GMT +1. The time now is 01:47 PM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77