need a little HTML code assistance

Forum dedicated to computer hardware and software, mobile phones and electronic gadgets.
User avatar
yourbullit
Posts: 94
Joined: Thu Jan 08, 2009 9:54 am
Car: 1994 240sx
Contact:

Post

i'm messing with my blogs template code and i'm having issues with linking.

i'm stuck on this part. i am no where near knowing what im doing, but i'd like to get this figured out.

Image

i can't get any of links next to the home button to link separately. here is the bit of code i'm fiddling with.....

<div id='menu'>
<ul>
<li><a expr:href='data:blog.homepageUrl'>Home</a></li>
<li><a href='#'>Blank</a></li>
<li><a href='#'> Title </a></li>
<li><a href='#'> Title </a></li>
<li><a href='#'> Title </a></li>
<li><a href='#'> Title </a></li>
</ul>
</div>

everytime i put an address where the "#" is, it wants to link through the home address instead of by itself. so instead of it going straight to say.. google.com, it wants to go....blogspot.com/www.google.com...

is there something im missing??


User avatar
n00b240
Posts: 642
Joined: Tue Jan 07, 2003 12:30 pm
Car: '03 6MT
Location: Burnt Orange Country
Contact:

Post

I had all this long explanation of coding and what not, but just change that blogger code of your webpage to http://www.mybog.com where myblog is whatever your site is make it a href as well and not expr

User avatar
stebo0728
Posts: 2810
Joined: Wed Feb 11, 2009 4:43 pm
Car: 1993 300ZX, White, T-Top
Contact:

Post

Also are you creating the links as relative or absolute links? If you dont put the full http:// jargon on the link, the browser will assume it to be a sub link of the home page.

timmy0257
Posts: 690
Joined: Mon May 17, 2010 12:05 pm
Car: 08 Infiniti G35 Journey 5AT
-R2C Intake
-interior LEDs w/ tag lights
-SBD grounding kit
-TBW engine cover
-Eibach Pro-kit
-JL Audio


Future Mods include GT-Spec strut bar & more.
Location: Tallahassee, FL

Post

if that is an image map that code will not work.


Return to “Computers / Electronics”