HighDots Forums  

Repeating Regions

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Repeating Regions in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Repeating Regions - 06-10-2008 , 09:33 AM






I need to see the template markup around the repeating region, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ITLogic" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sure. I'm using DW CS3. Here is a copy of the repeating regions I'm trying
to
create. Notice each DIV has a sequential ID. I could go hand edit this,
but I'm
trying to automate it as much as possible. I am selling Contribute as a
means
for clients to edit their own content. Most don't know how to spell HTML
much
less know how to use it.

div id="content0" style="display:''"

!-- ADD TICKER's CONTENT #1 HERE---------------------

p>Hello</p

!-- END CONTENT #1-----------------

/div

div id="content1" style="display:none"

!-- ADD TICKER's CONTENT #2 HERE---------------------

p>World</p

!-- END CONTENT #2-----------------

/div



Reply With Quote
  #12  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Repeating Regions - 06-10-2008 , 07:36 PM






For grins, try changing this -

<div id="content1" style="display:none">

to this (IN THE TEMPLATE FILE) -

<div id="content@@(_repeat._index)@@'' style="display:none">

(that should be a " character after the last @ sign - I had to use two '
characters to keep the code from getting munged in my newsreader)


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Murray *ACE*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
I need to see the template markup around the repeating region, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ITLogic" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:g2m25n$6se$1 (AT) forums (DOT) macromedia.com...
Sure. I'm using DW CS3. Here is a copy of the repeating regions I'm
trying to
create. Notice each DIV has a sequential ID. I could go hand edit this,
but I'm
trying to automate it as much as possible. I am selling Contribute as a
means
for clients to edit their own content. Most don't know how to spell HTML
much
less know how to use it.

div id="content0" style="display:''"

!-- ADD TICKER's CONTENT #1 HERE---------------------

p>Hello</p

!-- END CONTENT #1-----------------

/div

div id="content1" style="display:none"

!-- ADD TICKER's CONTENT #2 HERE---------------------

p>World</p

!-- END CONTENT #2-----------------

/div




Reply With Quote
  #13  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Repeating Regions - 06-10-2008 , 07:36 PM



For grins, try changing this -

<div id="content1" style="display:none">

to this (IN THE TEMPLATE FILE) -

<div id="content@@(_repeat._index)@@'' style="display:none">

(that should be a " character after the last @ sign - I had to use two '
characters to keep the code from getting munged in my newsreader)


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Murray *ACE*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
I need to see the template markup around the repeating region, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ITLogic" <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:g2m25n$6se$1 (AT) forums (DOT) macromedia.com...
Sure. I'm using DW CS3. Here is a copy of the repeating regions I'm
trying to
create. Notice each DIV has a sequential ID. I could go hand edit this,
but I'm
trying to automate it as much as possible. I am selling Contribute as a
means
for clients to edit their own content. Most don't know how to spell HTML
much
less know how to use it.

div id="content0" style="display:''"

!-- ADD TICKER's CONTENT #1 HERE---------------------

p>Hello</p

!-- END CONTENT #1-----------------

/div

div id="content1" style="display:none"

!-- ADD TICKER's CONTENT #2 HERE---------------------

p>World</p

!-- END CONTENT #2-----------------

/div




Reply With Quote
  #14  
Old   
ITLogic
 
Posts: n/a

Default Re: Repeating Regions - 06-11-2008 , 09:08 PM



WOW PERFECT! Sorry I took so long to reply, I got tied up. That did the trick.
The only problem is when you reorder the DIV's in the repeating region. The
index doesn't update to keep them sequential, but if I delete a region, it
renumbers all the subsequent indexes.

Thanks a million. This should give me the opportunity to do some impressive
stuff for my Contribute users. One last thing. I'm guessing I can just look in
the Dreamweaver help files to see what other DW variables are available to work
with?


Reply With Quote
  #15  
Old   
ITLogic
 
Posts: n/a

Default Re: Repeating Regions - 06-11-2008 , 09:08 PM



WOW PERFECT! Sorry I took so long to reply, I got tied up. That did the trick.
The only problem is when you reorder the DIV's in the repeating region. The
index doesn't update to keep them sequential, but if I delete a region, it
renumbers all the subsequent indexes.

Thanks a million. This should give me the opportunity to do some impressive
stuff for my Contribute users. One last thing. I'm guessing I can just look in
the Dreamweaver help files to see what other DW variables are available to work
with?


Reply With Quote
  #16  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Repeating Regions - 06-12-2008 , 06:05 AM



You may have a hard time finding them there, to tell you the truth. See if
you can find anything under 'template expressions'. Or you could pick up a
used copy of my book - probably for pennies - at Amazon....

Dreamweaver MX Templates
http://www.amazon.com/exec/obidos/AS...545862-7153537

It's way out of date, but still perfectly valid. The template engine has
not changed at all.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ITLogic" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
WOW PERFECT! Sorry I took so long to reply, I got tied up. That did the
trick.
The only problem is when you reorder the DIV's in the repeating region.
The
index doesn't update to keep them sequential, but if I delete a region, it
renumbers all the subsequent indexes.

Thanks a million. This should give me the opportunity to do some
impressive
stuff for my Contribute users. One last thing. I'm guessing I can just
look in
the Dreamweaver help files to see what other DW variables are available to
work
with?



Reply With Quote
  #17  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Repeating Regions - 06-12-2008 , 06:05 AM



You may have a hard time finding them there, to tell you the truth. See if
you can find anything under 'template expressions'. Or you could pick up a
used copy of my book - probably for pennies - at Amazon....

Dreamweaver MX Templates
http://www.amazon.com/exec/obidos/AS...545862-7153537

It's way out of date, but still perfectly valid. The template engine has
not changed at all.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ITLogic" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
WOW PERFECT! Sorry I took so long to reply, I got tied up. That did the
trick.
The only problem is when you reorder the DIV's in the repeating region.
The
index doesn't update to keep them sequential, but if I delete a region, it
renumbers all the subsequent indexes.

Thanks a million. This should give me the opportunity to do some
impressive
stuff for my Contribute users. One last thing. I'm guessing I can just
look in
the Dreamweaver help files to see what other DW variables are available to
work
with?



Reply With Quote
  #18  
Old   
ITLogic
 
Posts: n/a

Default Re: Repeating Regions - 06-12-2008 , 07:25 AM



Your right. It tried to find them last night in the help files without much luck. I'll check out your book. How cool is that you wrote a book! If I get it will you autograph it for me? LOL

Reply With Quote
  #19  
Old   
ITLogic
 
Posts: n/a

Default Re: Repeating Regions - 06-12-2008 , 07:25 AM



Your right. It tried to find them last night in the help files without much luck. I'll check out your book. How cool is that you wrote a book! If I get it will you autograph it for me? LOL

Reply With Quote
  #20  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Repeating Regions - 06-12-2008 , 07:34 AM



Quote:
If I get it will you autograph it for me? LOL
Heh - only if you pay full price! 8)

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"ITLogic" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Your right. It tried to find them last night in the help files without
much luck. I'll check out your book. How cool is that you wrote a book! If
I get it will you autograph it for me? LOL


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 - 2008, Jelsoft Enterprises Ltd.