Advertisement:

Author Topic: Flash menu  (Read 14043 times)

PSF Hosting

  • Guest
Flash menu
« on: September 03, 2003, 05:55:06 PM »
Hi everyone!

I have a litlle problem,
I had a website, where I had put A flash menu in...
Worked, great!

Now i'm trying to program it into my Hosting site, because it's much easy'er to handle, and that wins custommers  :)
So... now I was programming the index.html, but the Flash menu didn't apear  :-\
So... I programmed it into the order form and it Did work, also html.
Both of them are programmed on the same way, only the index.html is a little bit more advanced, an has more text etc.
But The flash menu also didn't apear in a php file (also for hosting :P) but it did work in my forum....

So now is my question...
Does anybody know, why it work's in the request html file... but not in the Index and packages file...
It also works in two different html files, wich are not shown now, because of the failure of that Flash menu...

Can anybody help?  :)

Greetzzz,
    Liroy

Offline charlottezweb

  • SMF Hero
  • ******
  • Posts: 2,372
  • Gender: Male
    • Charlottezweb.com
Re:Flash menu
« Reply #1 on: September 03, 2003, 07:54:58 PM »
Can you post code snippets of where it is/isn't working?  Maybe url's of where we can see it in action?

Jason

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re:Flash menu
« Reply #2 on: September 03, 2003, 08:47:33 PM »
It looks ok in Opera tho IE only shows it in order page.
I guess if you double check the flash object in both pages, you may find the prob.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

PSF Hosting

  • Guest
Re:Flash menu
« Reply #3 on: September 04, 2003, 01:44:50 AM »
It looks ok in Opera tho IE only shows it in order page.
I guess if you double check the flash object in both pages, you may find the prob.

Uhm... can you explain that?
I'm not really that good in english so I didn't really understand what you meant with that  :-\

@Charlottezweb: Yeah I can post a URL but... Currently only the  dutch language is supported so um...
anyhow, if you wan't to, you can check the source.
I'll post some part of the code afcourse, but then I dunno, the code with the flash menu part, is in both the websites te same...
Index: http://hosting.psforum.nl < flash menu not working
Packages: http://www.psforum.nl/hosting/pakketten.php < flash menu not working

But here it is working:
http://www.psforum.nl/hosting/aanvraag.html

Every time the code to add the flash menu is the same...  :-\

Offline charlottezweb

  • SMF Hero
  • ******
  • Posts: 2,372
  • Gender: Male
    • Charlottezweb.com
Re:Flash menu
« Reply #4 on: September 04, 2003, 02:40:53 PM »
It's been a long time since I played with flash, but are you supposed to put your object tags inside the head tags as opposed to where you want it positioned on the page?

I guess it works there since the working page does it just like the non-working ones...

Offline charlottezweb

  • SMF Hero
  • ******
  • Posts: 2,372
  • Gender: Male
    • Charlottezweb.com
Re:Flash menu
« Reply #5 on: September 04, 2003, 02:49:58 PM »
Okay, just realized a lot of problems. 

1.  You shouldn't embed your flash outside the body tag...

2.  ...in this case, you did it inside the body tag, but only because you have two body tags for that one page....that's a "small" no-no

Jason

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re:Flash menu
« Reply #6 on: September 04, 2003, 03:35:45 PM »
as Jason said you have two <head>......</head> tags!
what amaze me is , the flash works in all your pages if using Opera browser.
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

PSF Hosting

  • Guest
Re:Flash menu
« Reply #7 on: September 04, 2003, 04:04:44 PM »
Yeah well, I want it to work in IE  :P
(it works because of my super good script...  :-\ :P JK)

uhm... it shouldn't be a problem that I have to <head> </Head> tags, because if I put a <HEAD> just under the </HEAD> and I put a Javascript in it, then the Script still works...
So I don't understand why I don't work  :-\
I'll change the <head> tags, and we'll see what happens  :P

Only... why Isn't the .php not working?

Offline charlottezweb

  • SMF Hero
  • ******
  • Posts: 2,372
  • Gender: Male
    • Charlottezweb.com
Re:Flash menu
« Reply #8 on: September 04, 2003, 04:15:54 PM »
You have two sets of body tags.  This isn't valid html.  Also, why have two sets of head tags...that's bad coding.  That opens up doorways to lots of problems.

You need to get rid of the body tag at the top and then move your flash to inside the lower body tag.  Follow proper html sequening and you shouldn't have any problems.

Jason

PSF Hosting

  • Guest
Re:Flash menu
« Reply #9 on: September 04, 2003, 04:33:53 PM »
Yeah it is... the 1st <head> tag, is for the table on the right... cause if you read the code, you can see that everything below the 1st <head> is in the right table...

then the 2nd is for the rest of the page, read the code well, and you can see that the 2nd head tag, is for the rest...

So... it all runs as it should run, accept for the Flash menu.
If it was a bad html file, then the half of the page shouldn't appear...

But... I think i won't try to adjust it any further, because I'm afraid that the website will stop functioning proparly...
I'll just write another menu, only in HTML format...

But thanx for your help!

Liroy

*edit*
Two body tags?  ???

And uh... In the aanvraag.html file, there's no <head> at all...  :P
*end edit*
« Last Edit: September 04, 2003, 04:36:33 PM by PSF Hosting »

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,142
  • Gender: Male
Re:Flash menu
« Reply #10 on: September 04, 2003, 04:36:56 PM »
XHTML, I thought, only allows one head element.

<html>
  <head>
    <!-- Header stuff for the entire document. -->
  </head>
  <body>
    <!-- Document body section. -->
  </body>
</html>

You can't have a head for this part and another head for another part.  That makes no sense.

-[Unknown]

Offline charlottezweb

  • SMF Hero
  • ******
  • Posts: 2,372
  • Gender: Male
    • Charlottezweb.com
Re:Flash menu
« Reply #11 on: September 04, 2003, 04:52:24 PM »
XHTML, I thought, only allows one head element.

<html>
  <head>
    <!-- Header stuff for the entire document. -->
  </head>
  <body>
    <!-- Document body section. -->
  </body>
</html>

You can't have a head for this part and another head for another part.  That makes no sense.

-[Unknown]

To my knowledge, that is correct.  There is only one head and body per page.  You can't do it the way you are currently doing it and expect it to work.

Jason

PSF Hosting

  • Guest
Re:Flash menu
« Reply #12 on: September 04, 2003, 06:08:39 PM »
Yeah well, then there's not gonna be an Flash menu on the PSF site, if it runs properly without it  :P
Cause I ain't gonna change my source,
It took me an hour to get that text centered, and if I change stuff, it might change the position of some things as well...

Offline charlottezweb

  • SMF Hero
  • ******
  • Posts: 2,372
  • Gender: Male
    • Charlottezweb.com
Re:Flash menu
« Reply #13 on: September 04, 2003, 06:45:35 PM »
ummm.  Okay.  :)


PSF Hosting

  • Guest
Re:Flash menu
« Reply #14 on: September 05, 2003, 01:54:35 AM »
Thanx for your help!

Topic Closed