Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

response.write formating issues

Guest
Dec 12, 2006 Dec 12, 2006
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)%> &raquo;</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") & "&raquo;" & "</a><br />"

Thanks for any help
TOPICS
Server side applications
232
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 12, 2006 Dec 12, 2006
LATEST
> & " 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


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines