Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Graphics Forum


You are currently viewing our Graphics Forum as a guest. Please register to participate.
Login



Reply
text links below flash popout doesn't read through layer
Old 02-11-2006, 05:26 AM text links below flash popout doesn't read through layer
Average Talker

Posts: 28
Trades: 0
Site example: http://www.decisivedesign.com/MeetTh...favorites.html

The left nav bar has to be positioned z-axis in front of the text-link layer but in FF the text-link layer doesn't read through the flash layer so that you can click on the links in the area where the popout extends.

I never thought about it... i guess most sites don't have links under flash extention popup/outs...

Any ideas?

Apologies if this has been discussed, a few quick searches didn't show anything.
__________________
-- Jason <aka jeansond, Chastagi>
jeansond is offline
Reply With Quote
View Public Profile Visit jeansond's homepage!
 
 
Register now for full access!
Old 02-12-2006, 04:59 AM Re: text links below flash popout doesn't read through layer
Average Talker

Posts: 28
Trades: 0
Anybody? Maybe I should have put this in the CSS/HTML Area, bleh...
__________________
-- Jason <aka jeansond, Chastagi>
jeansond is offline
Reply With Quote
View Public Profile Visit jeansond's homepage!
 
Old 02-12-2006, 04:10 PM Re: text links below flash popout doesn't read through layer
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It took me a second, but I see the problem with the links. I'm not sure if this would work, but maybe you can add some javascript to change the z-index of either the links or the flash when someone hovers over the links. Maybe even just changing the z-index on the :hover would work without any javscript.

I think you're right in that most sites don't have links under the flash, but I imagine that there's some sites out there that do.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-12-2006, 07:41 PM Re: text links below flash popout doesn't read through layer
Average Talker

Posts: 28
Trades: 0
I've been doing some research and thats basically what the situation is. The solution is to add javascript that changes the Z-axis and call it with the flash onRollOver and onRollOff.

However, I havn't found a good description as to how to do this. I am not a profficient javascript or actionscript programmer (as of yet) and could really use some help with this one.

Here is the site that has the best example: http://chattyfig.figleaf.com/piperma...st/147263.html

I understand the concept of the functions, etc... but im not sure of some of the variables and the actionscript required to call the javascript in that page/layer without loading a new page... etc.

In the following code, i understand that the turn_on and turn_off functions are those that I need to call with my flash using getURL("javascript:turn_on()); and "crNav" is my CSS layer and that styleDiv.height is going to be the z-axis that it is switching it to... but what exactly is "styleDiv" and are there any other non-universal variables in there that would be particular to my files?

Code:
<script language="JavaScript" type="text/JavaScript">
<!--
function turn_on() {
	if (document.getElementById) {
		var styleDiv = document.getElementById('crNav').style;
		styleDiv.height = "300";
	}
}
function turn_off() {
	if (document.getElementById) {
		var styleDiv = document.getElementById('crNav').style;
		styleDiv.height = "125"; // height of just the main navigation
	}
}
//-->
</script>
Also, how exactly would I do the call with the actionscript in flash?

Any help would be greatly appreciated.
__________________
-- Jason <aka jeansond, Chastagi>
jeansond is offline
Reply With Quote
View Public Profile Visit jeansond's homepage!
 
Old 02-12-2006, 11:04 PM Re: text links below flash popout doesn't read through layer
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
styleDiv is just the arbitrary name given to the variable. It really can be anything you want as long as you stay consistent with it. If you want to change the z-axis you'll need to change from styleDiv.height to styleDiv.z-axis thought it sounds like you already know that. I'm not sure if the dash in z-axis causes any problems. It might need to be zAxis so styleDiv.zAxis.

Everything else is ok to leave once you replace crNav with your particular div. It's all basic javascript.

I wish I could help with the Flash and Actionscript, but my knowledge of both is close to non-existent.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-12-2006, 11:13 PM Re: text links below flash popout doesn't read through layer
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I just did a little googling and I think you want to add the getURL to on (rollover) for the main navigation links. Please don't hold me to that though. Like I said I'm far from a Flash programmer.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-12-2006, 11:41 PM Re: text links below flash popout doesn't read through layer
Average Talker

Posts: 28
Trades: 0
Aye, the main thing im confuzed on however is what exactly I do to the

getURL("javascript:turn_on()"); ... do i link it to _self or something else to just load the java for that flash/layer... if not it will just open a blank page with nothing on it.
__________________
-- Jason <aka jeansond, Chastagi>
jeansond is offline
Reply With Quote
View Public Profile Visit jeansond's homepage!
 
Old 02-13-2006, 12:17 AM Re: text links below flash popout doesn't read through layer
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
That I'm not really sure about. Again my lack of any real flash and actionscript knowledge. When I searched I saw some examples that looked like:

on (rollover){
getURL("javascript:turn_on()");
}

so I thought that might be what you were looking for. I found this on the macromedia site:

http://www.macromedia.com/support/fl...ionary377.html


It looks like you may be right about the _self. I suppose _parent might work as well.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-13-2006, 01:52 AM Re: text links below flash popout doesn't read through layer
Average Talker

Posts: 28
Trades: 0
Aye, thx for taking the time my friend. Gonna give it a go in another day or so... its been giving me a headache all weekend. Setting it asside and working on some other stuff for the moment hehe.
__________________
-- Jason <aka jeansond, Chastagi>
jeansond is offline
Reply With Quote
View Public Profile Visit jeansond's homepage!
 
Old 02-13-2006, 11:10 PM Re: text links below flash popout doesn't read through layer
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Giving it some time helps me a lot too. Sometimes I've struggled with something for days only to take a day or two away and then have the solution just hit me as I was going to sleep. Of course that just means I have to get out of bed and start working again.

Let me know if it works. If I find something that looks like it can help I'll let you know.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to text links below flash popout doesn't read through layer
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50973 seconds with 12 queries