Ummm yeah... sorry about that! I should have read your post more
clearly when it said 'Prefer not to use Preexecute code'!!!!


On Apr 20, 1:45 pm, kimdezen <[email protected]> wrote:
> You could do this with render tags, but i generally do this with some
> ASP/VBScript:
>
> <%
>
> imgValue = "<!IoRangeConditional>True<!IoRangeRedDotMode><!
> IoRangeNoRedDotMode><%img_Image1%><!/IoRangeNoRedDotMode><!/
> IoRangeRedDotMode><!/IoRangeConditional>"
> attValue =  "<!IoRangeConditional>True<!IoRangeRedDotMode><!
> IoRangeNoRedDotMode><%att_Image1%><!/IoRangeNoRedDotMode><!/
> IoRangeRedDotMode><!/IoRangeConditional>"
>
> %>
>
> <% if "<%img_Image1%>" = "True" and "<%att_Image1%>" = "True" then %>
>
> .. output code here
>
> <% end if %>
>
> Whenever values are assigned to each RedDot placeholder, the
> corresponding variable will be assigned with the string "True". If no
> value is found, the variable will be assigned with an empty string
> value. Its worth noting that when the page is open for editing, the
> value for each variable will always be set to "True".
>
> Remeber to also wrap the code around a Pre-executing script block...
>
> Kim.
>
> On Apr 15, 6:22 am, damon <[email protected]> wrote:
>
> > Hi guys,
> > I have some html code with an img element ("img_Image1")  and an
> > attribute of the image element ("att_Image1"), encased in a
> > conditional block.  Now, both elements have to be present for it to
> > show.  Is there any way to elegantly omit the attribute from the
> > conditional check?  The attribute contains image credits and is
> > sometimes blank.
>
> > I would prefer to not use any preexecute code. Any help would be much
> > obliged.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "RedDot CMS Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to