DarkHavn Posted September 17, 2006 Share Posted September 17, 2006 Hey i was wondering, is it possible to open a flash movie when 'onmouseover' of an image?I don't want to rely in javascript for this one, as not many people leave javascript enabled these days.What im trying to do is, i have a search engine, the results are displayed as images, when the user mouse overs an image, a small flash movie will display with a small description of that item, if they want a more detailed description they can click on the image.Is this possible at all?Cheers, just trying to see how i can go about doing it, been searching all night and have found nothing. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/ Share on other sites More sharing options...
Barand Posted September 17, 2006 Share Posted September 17, 2006 Not with PHP, that runs on the server so has no idea what the mouse is doing on the client PC. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-93719 Share on other sites More sharing options...
DarkHavn Posted September 18, 2006 Author Share Posted September 18, 2006 How about a function that is called when onmouseover occurs?the function gets all the information stores them into variables, executes the flash moviethe flash movie positions it's self according to the x and y axis of the pointer (of the mouse)is that possible?or am i doomed to stick with javascript for this one? Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-93729 Share on other sites More sharing options...
ToonMariner Posted September 18, 2006 Share Posted September 18, 2006 you need javascript for teh mouseover but you can use ajax to send a request to a php script that will collect all teh data you need and echo it back - then use javascript again to delimit the string sent back and use that to formulate your new html. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-93746 Share on other sites More sharing options...
corbin Posted September 18, 2006 Share Posted September 18, 2006 "as not many people leave javascript enabled these days."From what I've heard about 90% of people have JS enabled... Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-93750 Share on other sites More sharing options...
ToonMariner Posted September 18, 2006 Share Posted September 18, 2006 When designing a site, pick the kind of functionality you want. Then think what if....?That is what if client is text only browser, what if client has css or javascript or both off, what if client has flash files blocked what if client has image downloads turned off.If you can design a site that needs minimal adjustments to enable a user to still find it useful when any of these issues are faced - then you are a true web developer....I aint there yet btw! Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-93751 Share on other sites More sharing options...
corbin Posted September 18, 2006 Share Posted September 18, 2006 If someone has everything you said disabled they have a very bland web experience. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-93753 Share on other sites More sharing options...
DarkHavn Posted September 19, 2006 Author Share Posted September 19, 2006 Hrmm so it's impossible to call a flash movie from an onmouseover effect? Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94427 Share on other sites More sharing options...
redarrow Posted September 19, 2006 Share Posted September 19, 2006 ToonMariner post is where the money is there no need for all that javascript and macromedia stuff.but if you want to no your ansaw use the javascript forum on here i am sure that theres meny that like javascript and can help. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94431 Share on other sites More sharing options...
DarkHavn Posted September 19, 2006 Author Share Posted September 19, 2006 Umm ok?Considering that wasn't really my questions. I'm steering away from javascript as study from microsoft and linux shows that only 12.3% of users have javascript enabled, due to so many malcious scripts out there.My question was, is it possible to call a flash .swf on 'onmouseover' without relying on javascript.Also take into the fact that only 3% of people have txt only browsers, and people wouldn't come to my site as my site is for advertising, kind of useless if you have a txt only browser Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94434 Share on other sites More sharing options...
redarrow Posted September 19, 2006 Share Posted September 19, 2006 onmouseover is javascript so is it?also users to play flash files need the macromedia player installed in there browser. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94437 Share on other sites More sharing options...
DarkHavn Posted September 19, 2006 Author Share Posted September 19, 2006 umm onmouseover effect can either be, css, or plan html[code]<img src='' onmouseover=''>[/code]So dunno where you guys got the idea of javascript from,Also i've taken into account of people who don't have flash, and honestly that's not what im worrying about at this point, and that wasn't my question at all.My question being, is it possible to call apon a flash file to execute when someone mouses over an image.not using javascript!!! Emphasise on the 'Not using Javascript' Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94438 Share on other sites More sharing options...
redarrow Posted September 19, 2006 Share Posted September 19, 2006 well what about a layer Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94441 Share on other sites More sharing options...
DarkHavn Posted September 19, 2006 Author Share Posted September 19, 2006 Define what you mean by layer?As there is thousands of kinds of layers, script layers, image layers, manipulation layers Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94444 Share on other sites More sharing options...
redarrow Posted September 19, 2006 Share Posted September 19, 2006 your asking a quistion that has been ansawed from the second post ok.can html triger a swf file with onmouseover?no. Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94445 Share on other sites More sharing options...
DarkHavn Posted September 19, 2006 Author Share Posted September 19, 2006 wtf?The second post had nothing to do with xhtml/html he was talking about that php can not call the flash movie apon mouse over.Dude, i don't think you and me are on the same page here, because honestly what you are talking about has nothing to do with what im asking.Honestly...i'm locking this topic and going to refer to the other one i just started, because i think alot of people just got confused along the way Link to comment https://forums.phpfreaks.com/topic/21101-php-onmouseover-xhtml/#findComment-94449 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.