Hi experts
I am using an access database, classic asp and WB12 to show cars.
Now the website use iframes to show car data in coloums according to the screensize used
This works
http://leasebil.nu/bil-liste.asp?region ... audi&p=erh
In this test page, i have copy the asp code in to a html object inserted to the page
https://leasebil.nu/listetest.asp?regio ... audi&p=erh
and it seems like the generated code are missing the code in wb project?
The code in the project is
1 Function vis_bil
2 If (Bil = 1) And (skalvises = true) Then
3 Le = 12
4 Ls = "position:absolute;left:" & Le & "px;top:" & Top & "px;width:264px;height:198px;z-index:0;'"
5 Response.write("<div id='wb_bilImage1' style='" & Ls & ">")
6 Response.write("<a href=" & VisSti & " target='_parent'><img src=" & picpath & " id='bilImage1' alt='" & alttag & "'></a></div>")
7 end if
8 end function
but the generated asp file consist of
1 Function vis_bil
2 If (Bil = 1) And (skalvises = true) Then
3 Le = 12
4 Ls = "position:absolute;left:" & Le & "px;top:" & Top & "px;width:264px;height:198px;z-index:0;'"
5 Response.write("<div id='wb_bilImage1' & Ls & ">")
6 Response.write("<a href=" & VisSti & " target='_parent'><img src=" & picpath & " id='bilImage1' alt='" & alttag & "'></a></div>")
7 end if
8 end function
and gives an error because
style=" in line 5 is note generated (missing) when publishing??
Best regards and merry Christmas to all users of WB
Michael from Denmark
code in generated page (asp) do not correspond to the code i project file
-
-
- Posts: 1
- Joined: Wed Aug 29, 2018 2:00 pm
Re: code in generated page (asp) do not correspond to the code i project file
This is most likely because you have enabled one of the HTML formatting options in Tools->Options->HTML
But you can prevent the 'style=' from being moved by using a different casing.
For example, use 'Style=' instead of 'style='
But you can prevent the 'style=' from being moved by using a different casing.
For example, use 'Style=' instead of 'style='