Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    Regular Coder
    Join Date
    Nov 2010
    Posts
    295
    Thanks
    105
    Thanked 0 Times in 0 Posts

    linking Nav tab to Craigslist?

    I would like when the "Gear For Sale" tab in my Navigation bar is clicked that it will take me directly the Craigslist page where all ads are showing which include the word "funkadelic". What do I need to do please?

  • #2
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts

    Re

    What you need to do is set an external hyperlink on your navigation list item. <a href="craiglist.co.uk>Craigslist</a>
    Dont know what you mean when you say you want to link to the word funkadelic. Please say more.

  • #3
    Regular Coder Donkey's Avatar
    Join Date
    Sep 2003
    Location
    Blackfield UK
    Posts
    311
    Thanks
    1
    Thanked 35 Times in 35 Posts
    Go to craigs list and navigate to the page of small ads that contain the word "funkadelic". Then copy the address in the url bar. Use that address in your navigation tab.

    You should warn users that you are taking them off site, I usually use the title attribute to do this eg:
    Code:
    title="off site link to Craigs List, please come back soon"
    " 90% of everything is crud" - Theodore Sturgeon
    Filthy Beast - a 60's Rock Band

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,949
    Thanks
    9
    Thanked 724 Times in 718 Posts
    What you need to do is set an external hyperlink on your navigation list item. <a href="craiglist.co.uk>Craigslist</a>
    Actually, that should be:

    Code:
    <a href="http://craiglist.co.uk>Craigslist</a>

  • #5
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts

    re

    Yes sorry, it is correct the way that SB65 says.

  • #6
    Regular Coder Donkey's Avatar
    Join Date
    Sep 2003
    Location
    Blackfield UK
    Posts
    311
    Thanks
    1
    Thanked 35 Times in 35 Posts
    You both missed out the closing inverted commas...

    Assuming you were using the london Craigs List (unfortunately the word "funkadelic" doesn't seem to be very popular there for some reason) your code would need to be as follows:
    Code:
    <a href="http://london.craigslist.co.uk/search/?areaID=24&subAreaID=&query=funkadelic&catAbb=sss">Craigs List (Funkadelic)</a>
    Although I would suggest:
    Code:
    <a href="http://london.craigslist.co.uk/search/?areaID=24&subAreaID=&query=funkadelic&catAbb=sss" title="off site link to Craigs List, please come back soon">Craigs List (Funkadelic)</a>
    " 90% of everything is crud" - Theodore Sturgeon
    Filthy Beast - a 60's Rock Band

  • Users who have thanked Donkey for this post:

    mikehende (11-18-2010)

  • #7
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,949
    Thanks
    9
    Thanked 724 Times in 718 Posts
    Quote Originally Posted by Donkey View Post
    You both missed out the closing inverted commas...
    We did indeed....

  • #8
    Regular Coder
    Join Date
    Nov 2010
    Posts
    295
    Thanks
    105
    Thanked 0 Times in 0 Posts
    Ok but whenever new ads appear with the word "funkadelic" in it, will those new ads show when the Gear for Sale tab is clicked?

  • #9
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,332
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by mikehende View Post
    Ok but whenever new ads appear with the word "funkadelic" in it, will those new ads show when the Gear for Sale tab is clicked?
    Only if the page linked to is exactly the same page the ad appears on each time.

    Inverted commas? lol I thought they were quotations. lol is that what you guys in England call them? just curious...lol

  • #10
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts

    re

    I just tried the link that was posted and there are no words for funkadelic. But if you were to add items with that word then they would probably show. We use quote marks in England
    Last edited by quartzy; 11-18-2010 at 05:05 PM.

  • #11
    Regular Coder Donkey's Avatar
    Join Date
    Sep 2003
    Location
    Blackfield UK
    Posts
    311
    Thanks
    1
    Thanked 35 Times in 35 Posts
    Ok but whenever new ads appear with the word "funkadelic" in it, will those new ads show when the Gear for Sale tab is clicked?
    Yes because your link is searching the database.

    Many years ago before computers us older folk were taught in school to use the words "inverted commas". The new fangled concept of "quotation marks" had not been invented then. I believe either will suffice, but when used in html they aren't really enclosing a quotation so I believe "inverted commas" is slightly more correct. However I stand ready to be corrected.
    Last edited by Donkey; 11-18-2010 at 05:21 PM. Reason: post was out of sequence
    " 90% of everything is crud" - Theodore Sturgeon
    Filthy Beast - a 60's Rock Band

  • #12
    Regular Coder
    Join Date
    Nov 2010
    Posts
    295
    Thanks
    105
    Thanked 0 Times in 0 Posts
    It's not working on my end guys, when I click on the Gear For Sale tab, all I am seeing on the CL page is:
    This posting has been deleted by its author.
    (The title on the listings page will be removed in just a few minutes.)
    here's my code, is there anything wrong with it please?

    <a href="http://newyork.craigslist.org/search/?areaID=3&amp;subAreaID=&amp;query=funkadelic&amp;catAbb=sss" title="off site link to Craigs List, please come back soon">Gear For Sale</a>

  • #13
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,332
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Quote Originally Posted by Donkey View Post
    Yes because your link is searching the database.

    Many years ago before computers us older folk were taught in school to use the words "inverted commas". The new fangled concept of "quotation marks" had not been invented then. I believe either will suffice, but when used in html they aren't really enclosing a quotation so I believe "inverted commas" is slightly more correct. However I stand ready to be corrected.
    lol donkey thanks...now I will say I'm old school too, but I never remember the term inverted commas, but then again, I never paid attention in primary school anyway. lol


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •