I'm trying to make a plug-in for a web browser. If a client is using a web browser with this plug-in then anytime the browser displays a page that has some special tags that aren't part of normal HTML then it will load my C++ program which will interpret the special tags and display whatever the interpretation says to the browser. I have a partner on this project who is working on how to load the program into the browser and make the browser recognize that certain tags mean to use our program. I'm working on making it so our program can look at the DOM of the page it's loaded into so it knows exactly what the special tags were and it's able to figure out what to display, but we want to make it so the person who writes the web page will be able to use javascript to manipulate these special tags. So they could do something like
Code:
document.getElementById("specialTag1").innerHTML+="<specialTag id='specialTag2'>
</specialTag>";
and then our program would be able to look at the DOM and see
Code:
<specialTag id='specialTag1'>
<specialTag id='specialTag2'></specialTag>
</specialTag>
even though only specialTag1 is actually in the HTML file.
Again, thanks in advance,
Brett Bretterson
Bookmarks