Html problem

August 13th, 2013

I have a flash file and i used iframe to embed it since im using wordpress but now the problem is when i click the submit button it shows the index page is there any other way i could achieve that here is the link to it
want to embed without using iframe
http://lifehomeopathy.ca/wp/?page_id=65

Answer #1
Do you have to iframe it ?? Can’t you just cut out the iframe bit and just have the flash code there?
Search for some plugins, there’s bound to be one that will do the job for you.
I just done a very quick search…
See if this works,
http://www.youtube.com/watch?v=EG3GrVPONvI
Answer #2
Ashleyuk1984 replied: Do you have to iframe it ?? Can't you just cut out the iframe bit and just have the flash code there?
Search for some plugins, there's bound to be one that will do the job for you.
I just done a very quick search...
See if this works,
http://www.youtube.com/watch?v=EG3GrVPONvI

i have 3 files one php file one xml file and one swf file made it with coffe cup software the questionair so so i need that
they all need to be in the same directory what do i do ?
i mean iframe gets the job done. but the problem is once you would click submit then it goes to index.html inside the iframe somehow need to fix that
Answer #3
Yeah I see what you mean…. Errrmmm… You could try an iframe breaker script.
Put this inside your index.html
<script type="text/javascript">
    if (top.location!= self.location) {
    top.location = self.location.href
}
</script>

or
<script>
    if(location.href!=top.location.href){
    top.location.href=location.href
}
</script>

or
<script type="text/javascript">
  if (top.location.href != self.location.href)
     top.location.href = self.location.href;
</script>

I can’t remember which one is the best lol (3rd one I think)… been a while since I played with iframes, but hopefully that will do the trick.
When you hit submit, the script above will see that it’s in an iframe, and it will break out and use the whole page.
Let us know if it works
Answer #4
thanks but the new version of the coffe cup fixed the problem now its good i love it !!
also is it possible to hide the url like right now it shows up as
http://lifehomeopathy.ca/wp in adress bar i would like it to just show
http://lifehomeopathy.ca
i read it can be done via mod re write using .htaccess file but im not sure how to do it at least i wasnt successful so far

 

| Sitemap |