Insert HTML-tags live into HTML-page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
marcelcolt
Forum Newbie
Posts: 22
Joined: Tue Mar 02, 2010 5:56 am

Insert HTML-tags live into HTML-page

Post 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.)
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: Insert HTML-tags live into HTML-page

Post by s.dot »

You can modify the DOM using javascript, so yes.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
marcelcolt
Forum Newbie
Posts: 22
Joined: Tue Mar 02, 2010 5:56 am

Re: Insert HTML-tags live into HTML-page

Post 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)
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: Insert HTML-tags live into HTML-page

Post by akuji36 »

Is Flash actionscript an option?

It will display movie nicely.

No need to worry about inserting anything "live".
marcelcolt
Forum Newbie
Posts: 22
Joined: Tue Mar 02, 2010 5:56 am

Re: Insert HTML-tags live into HTML-page

Post 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.
User avatar
akuji36
Forum Contributor
Posts: 190
Joined: Tue Oct 14, 2008 9:53 am
Location: Hartford, Connecticut

Re: Insert HTML-tags live into HTML-page

Post 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
Post Reply