0
response.write formating issues

/t5/dreamweaver-discussions/response-write-formating-issues/td-p/670658
Dec 12, 2006
Dec 12, 2006
Copy link to clipboard
Copied
Hello I have built a CMS and it requires a response.write and
it is not with in the body. The code is used for a nested loop. But
having issues fomating it.
<a href="allContent.asp?page_id=<%=(rec_pages.Fields.Item("page_id").Value)%>" target="<%=(rec_pages.Fields.Item("page_target").Value)%>" class="third_tier_menu"> <%=(rec_pages.Fields.Item("page_title_menu").Value)%> »</a> <br />
I have done this but it seems to run the target and other itmes in the string. It also does not apply the style sheet:
Response.Write "<a href=""allContent.asp?page_id=" & get_3rd_tier_from_2nd_tier("page_id")_
& " target=" & "get_3rd_tier_from_2nd_tier("page_target")" & " class=""third_tier_menu"">" & get_3rd_tier_from_2nd_tier("page_title_menu") & "»" & "</a><br />"
Thanks for any help
<a href="allContent.asp?page_id=<%=(rec_pages.Fields.Item("page_id").Value)%>" target="<%=(rec_pages.Fields.Item("page_target").Value)%>" class="third_tier_menu"> <%=(rec_pages.Fields.Item("page_title_menu").Value)%> »</a> <br />
I have done this but it seems to run the target and other itmes in the string. It also does not apply the style sheet:
Response.Write "<a href=""allContent.asp?page_id=" & get_3rd_tier_from_2nd_tier("page_id")_
& " target=" & "get_3rd_tier_from_2nd_tier("page_target")" & " class=""third_tier_menu"">" & get_3rd_tier_from_2nd_tier("page_title_menu") & "»" & "</a><br />"
Thanks for any help
TOPICS
Server side applications
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/dreamweaver-discussions/response-write-formating-issues/m-p/670659#M146421
Dec 12, 2006
Dec 12, 2006
Copy link to clipboard
Copied
> & " target=" &
"get_3rd_tier_from_2nd_tier("page_target")"
I think you have some extra quotes there. You are quoting your function
call, which is writing it out as-is rather than actually calling the
function.
-Darrel
I think you have some extra quotes there. You are quoting your function
call, which is writing it out as-is rather than actually calling the
function.
-Darrel
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

