devxlogo

Converting LAYER to DIV tags

Converting LAYER to DIV tags

Question:
I am trying to convert all the LAYER tags to DIV tags. In my code, I am using LAYER.SRC to execute a sever-side macro that returns an HTML document, which I am displaying in the layer. Do I have an equivalent code for DIV to get the same functionality as Layers.src? If not, how can I get similar functionality?

Answer:
DIV doesn’t work the same way that the now-obsolete LAYER did. You want to use IFRAME instead.

devx-admin

Share the Post: