Re: Hiding/showing HTML tags
From: Bonj (a_at_b.com)
Date: 02/20/05
- Next message: Chris: "getting at received headers"
- Previous message: Larry Serflaten: "Re: Hiding/showing HTML tags"
- In reply to: Ivan Debono: "Hiding/showing HTML tags"
- Next in thread: Ivan Debono: "Re: Hiding/showing HTML tags"
- Reply: Ivan Debono: "Re: Hiding/showing HTML tags"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 20 Feb 2005 09:24:07 -0000
don't know how you're going to do this from VB, but the html for invisible
is
<div id="div1" style="display: none" ... > ... </div>
in javascript it's
<javascript>
document.getElementById('div1').style.display="none";
</javascript>
if your vb app controls the html sent to its web browser control, you could
dynamically insert the above attribute, possibly using a regular expression
to parse it
"Ivan Debono" <ivanmdeb@hotmail.com> wrote in message
news:%23%23QjFYxFFHA.4072@TK2MSFTNGP10.phx.gbl...
> Hi all,
>
> I use VB6 and the browser control to view htm pages within my app.
>
> My app has 3 modes: level1, level2 and level3. According to each mode I
> need to display a different page. Instead of having 3 different pages, I
> was thinking if it is possible to hide or show html tags according to the
> level that is passed to the page.
>
> Do I need to use DIV or SPAN or what??
>
> Are there any examples out there?
>
> Thanks,
> Ivan
>
- Next message: Chris: "getting at received headers"
- Previous message: Larry Serflaten: "Re: Hiding/showing HTML tags"
- In reply to: Ivan Debono: "Hiding/showing HTML tags"
- Next in thread: Ivan Debono: "Re: Hiding/showing HTML tags"
- Reply: Ivan Debono: "Re: Hiding/showing HTML tags"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|