Page 1 of 1

Insert HTML-tags live into HTML-page

Posted: Tue Mar 09, 2010 3:18 am
by marcelcolt
Hi everybody!

Is it possible to insert html-tags into the current webpage to display a flash-movie?

(so insert extra div-tags etc.)

Re: Insert HTML-tags live into HTML-page

Posted: Tue Mar 09, 2010 5:27 am
by s.dot
You can modify the DOM using javascript, so yes.

Re: Insert HTML-tags live into HTML-page

Posted: Tue Mar 09, 2010 5:57 am
by marcelcolt
But it is not possible to do so in PHP?
(just because i know some people have JS switched off at all times)

Re: Insert HTML-tags live into HTML-page

Posted: Tue Mar 09, 2010 10:01 am
by akuji36
Is Flash actionscript an option?

It will display movie nicely.

No need to worry about inserting anything "live".

Re: Insert HTML-tags live into HTML-page

Posted: Tue Mar 09, 2010 2:32 pm
by marcelcolt
Yeah, well ehmmmm........

I'll just stick with displaying photos in Lightbox.
I meant to use Flash with AS, returning vars to PHP, wich was supposed to display another Flash-movie to overlay the whole page.
I know it's a bit complicated, but the main reasons to do it this way is that flash conceals the location of my photos (copyright-issue), PHP the same (since JS is a bit transparent) and a different movie to overlay and show the big pics (and this is because Firefox 3 messes up html and "wmode: transparent", thus not being able to use the underlaying button... :x ).

So to make a short story long...back to Lightroom, small pics and ugly-ass watermarks.

Thanks anyway.

Re: Insert HTML-tags live into HTML-page

Posted: Tue Mar 09, 2010 3:49 pm
by akuji36
Follow this link to lee brimlows video tutorial.

Using flash and xml:

This will show you how to make a slide show but you could make it a pic gallery with a few modifications:

http://www.gotoandlearn.com/play?id=22.


No need for php. You place all of your pics in an xml file.


I think you want an xml pic gallery.

Here's an xml tutorial here from kirupa:

http://www.kirupa.com/developer/mx2004/ ... allery.htm

thanks

Rod