Re: Question about links

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23441
interpreted = N
texte = No. You have just one file to change. That's the difference. Let's say you have a navigation bar which uses some buttons, and these buttons are in a different colours depending what page the visitor is viewing. Like:| HOME | | NEWS | | PRODUCTS | | CONTACT |Then you could use some code like:[TEXT]newsbutton=newsbuttonblue.gif[/TEXT][SHOWIF [THISURL]^/news/] [TEXT]newsbutton=newsbuttonred.gif[/TEXT] [/SHOWIF]>But then, isn't it the same as using the html code directly on each page? >Or else I am missunderstanding something, which could be more likely:-) >Sincerely, >Nitai > >> You can use [include] anyway. Check the URI of the page and [hide] and >> [show] whatever you like. >> >>>That is true, but I have some pages with the same look but not the same >>>links. Therefore I can't use a [include]. But else I always use [include] >>>Sincerely, >>>Nitai >>> >>>*** >>>MacTrade - http://www.mactrade.ch >>>More Mac for your money >>>EMail: Info@mactrade.ch >>>Fax: 052 / 654 15 59 >>>*** >>> >>> >>>> Nitai, >>>> >>>> While the Search/Replace in BBEdit works very well in helping with these >>>> changes, I agree with the other reply you have rec'd indicating that the >>>> [include filename] works much better for standard navigation lines. >>>> >>>> John R. Benn, PetsForum Group >>>> On CompuServe - The Net's Best Thing For Pets & Animals >>>> >>>> ---------- >>>>>From: Nitai >>>> >>>>>Wow. I think I just never looked at this very very powerful feature of >>>>>BBEdit. Thanks a lot for this helpful tip. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: Question about links (Christer Olsson 1999)
  2. Re: Question about links (Christer Olsson 1999)
  3. Re: Question about links (Nitai 1999)
  4. Re: Question about links (Christer Olsson 1999)
  5. Re: Question about links (Nitai 1999)
  6. Re: Question about links (John Benn 1999)
  7. Re: Question about links (Nitai 1999)
  8. Re: Question about links (John Benn 1999)
  9. Re: Question about links (Clive Bruton 1999)
  10. Question about links (Nitai 1999)
No. You have just one file to change. That's the difference. Let's say you have a navigation bar which uses some buttons, and these buttons are in a different colours depending what page the visitor is viewing. Like:| HOME | | NEWS | | PRODUCTS | | CONTACT |Then you could use some code like:[text]newsbutton=newsbuttonblue.gif[/TEXT][SHOWIF [thisurl]^/news/] [text]newsbutton=newsbuttonred.gif[/TEXT] [/SHOWIF]>But then, isn't it the same as using the html code directly on each page? >Or else I am missunderstanding something, which could be more likely:-) >Sincerely, >Nitai > >> You can use [include] anyway. Check the URI of the page and [hide] and >> [show] whatever you like. >> >>>That is true, but I have some pages with the same look but not the same >>>links. Therefore I can't use a [include]. But else I always use [include] >>>Sincerely, >>>Nitai >>> >>>*** >>>MacTrade - http://www.mactrade.ch >>>More Mac for your money >>>EMail: Info@mactrade.ch >>>Fax: 052 / 654 15 59 >>>*** >>> >>> >>>> Nitai, >>>> >>>> While the Search/Replace in BBEdit works very well in helping with these >>>> changes, I agree with the other reply you have rec'd indicating that the >>>> [include filename] works much better for standard navigation lines. >>>> >>>> John R. Benn, PetsForum Group >>>> On CompuServe - The Net's Best Thing For Pets & Animals >>>> >>>> ---------- >>>>>From: Nitai >>>> >>>>>Wow. I think I just never looked at this very very powerful feature of >>>>>BBEdit. Thanks a lot for this helpful tip. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Christer Olsson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Possible Bug in 2.0b15.acgi (1997) [REPLACE] inside [FOUNDITEMS] (1998) Hard Questions ? (1997) test (2001) [WebDNA] Dates (2009) CommandSecurity? (1997) [WebDNA] Non-numbers entered into a field that asks for a (2008) Fun with Dates - finally resolved but.... (1997) More on the email templates (1997) Permission Denied Error (2001) How do I pass [cart] when user clicks back (2000) Moment of Thanks (1997) WebCat2: Found Items syntax, etc. (1997) Nav. 4 probs with cart - Serious problem (1997) [OT] Authorizenet Costs (2005) Date Help (2004) WC2.0 Memory Requirements (1997) Running 2 two WebCatalog.acgi's (1996) Support ?? (1997) Data Variables partially show up (1998)