HighDots Forums  

dynamic content restrictions?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss dynamic content restrictions? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
_adrian
 
Posts: n/a

Default dynamic content restrictions? - 11-15-2004 , 06:19 PM






I want to have "chunks" of dynamic content populating an ASP page... like
you might see the first 250 characters, followed by the "... (learn more)"
link taking the user to a detail page outlining the full article. Does DW
have a way that I can restrict the blurb to only X number of characters?



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: dynamic content restrictions? - 11-15-2004 , 08:09 PM






No. But VBScript does. And you can use it, too. It's the left(string,
length) function. So, if you wanted the first 100 characters, you would do
this -

<p><%= Left(yourstringvariablename, 100) %>... (More)</p>

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"_adrian" <adrian@ lionsmaneproductions.com> wrote

Quote:
I want to have "chunks" of dynamic content populating an ASP page... like
you might see the first 250 characters, followed by the "... (learn more)"
link taking the user to a detail page outlining the full article. Does DW
have a way that I can restrict the blurb to only X number of characters?




Reply With Quote
  #3  
Old   
_Adrian
 
Posts: n/a

Default Re: dynamic content restrictions? - 11-15-2004 , 09:52 PM



Thanks for the reference Murray.. you da man.



Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: dynamic content restrictions? - 11-16-2004 , 06:53 AM



You're welcome!

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"_Adrian" <adrianle @comcast.net> wrote

Quote:
Thanks for the reference Murray.. you da man.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.