Re: Question about links

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23440
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:

Custom WebCat Prefs ... (1997) Duplicate Cart ID (2001) $Replace with [founditems] (1997) Large sites (2003) date pref (1999) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) [Sum] function? (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) Order not created error (1997) expired beta (1997) username = 115 (1999) [WebDNA] Hmmm ... (2008) TCP Connect/send and CGI (2003) Attn: Bug in GeneralStore example b15 (1997) Date Calulation (1997) Allowed fields in formulas.db (1998) auto-stripping of spaces (1997) Help SM: Duplicate cart #'s - still! (2003) Re:emailer 150 (1997) Problems with shopping cart (1997)