Page 1 of 1

simple question

Posted: Fri May 03, 2002 8:08 am
by fr0gg
say i have a flash banner. i want it at the top of my page. every time a person clicks a new link i want it NOT to reload the flash, but keep it there.
Also I want it to where my users that log into the page to have it show as an image file after they log in so that it doesnt play anymore. how would this be done?

try this

Posted: Fri May 03, 2002 8:21 am
by pHaZed
That would be hard... Because every time they click a link the html to load the flash will be re-sent to the browser, There is a way i can think of but.
include the main content of ur site... since the flash will be at the top.
like this

Code: Select all

<flash stuff></flashstuff>
<table>
<tr>
<td>LEFT NAVIGATION TABLE</td>
<td> <?PHP include("$file.php"); ?> </td>
<td> RIGHT NAV </td>
</tr>
</table>
Were the include code is the main content section of your site design.
this code is only needed on index file
now links look like this

Code: Select all

index.php?file=name
where name is the filename of the file u want to show in the middle content.

As for once they have logged in just use a new top.

Posted: Fri May 03, 2002 9:19 am
by enygma
then I would come along and do:

index.php?file=/etc/passwd

In other words, don't do that ;)
-enygma

Posted: Fri May 03, 2002 12:41 pm
by fr0gg
i was thinking of just creating it as an iframe but i was trying to find shortcuts as always.... ill try this when i get home from work. thanks for the input.

Posted: Fri May 03, 2002 1:38 pm
by hex
iframes are IE only...