Author |
Message |
Dawg
RavenNuke(tm) Development Team

Joined: Nov 07, 2003
Posts: 928
|
Posted:
Thu Jan 19, 2006 7:48 pm |
|
Greetings Raven,
I can not post the code....the site will not let me even in code tags.....?
Dawg |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Jan 19, 2006 11:06 pm |
|
In the screen that pops up when you try is an explanantion of what words might be causing your problem. Just split the wrds up. Like <scr!pt> or <mouseov3r> etc. |
|
|
|
 |
Dawg

|
Posted:
Fri Jan 20, 2006 12:04 am |
|
Greetings Raven,
I am building a Map with Mouseovers for the various data for our area. I have it....It works just fine Stand alone. You can see it at my site.... /linktest4.php
I found an old thread of yours that talked about how to use Javascript....banged out a cool map....hooked it up to the cache files already created by another script and it does not work.......I condensed this down.....there are about 30 divs in it....
Code:<?
$content = <<<_JS_
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="Javascript">
<!--
function toggleDiv(id,flagit) {
if (flagit=="1"){
if (document.layers) document.layers[''+id+''].visibility = "show"
else if (document.all) document.all[''+id+''].style.visibility = "visible"
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
}
else
if (flagit=="0"){
if (document.layers) document.layers[''+id+''].visibility = "hide"
else if (document.all) document.all[''+id+''].style.visibility = "hidden"
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
}
}
//-*->
</sc*ript>
<st*yle type="text/css">#div1, #div2 {position:absolute; top: 15; left: 100; width:200; background: #FFFFCC; border:1px solid black;; visibility:hidden}</st*yle>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center"><img src="/mapserv2.jpg" width="408" height="341" usemap="#Map" border="0">
<map name="Map">
<area shape="square" coords="158,271,181,292" href="/modules.php?name=41013" onMouseOver="toggleDiv('div1',1)" onMouseOut="toggleDiv('div1',0)" alt="41013" title="41013">
</map>
</div>
<div id="div1"><? include 'cache/buoydata_frontpage.41013.cache'; ?></div>
_JS_;
?>
|
the map shows up....the mouseover brings up the alt tags.....but not the data. Like I said on the standalone version it works great!
While we are talking about it....I love how you did the Mouseover for NS. You know....click...pop-up....close button. I hope to produce something like that before I am done.....but I am just trying to make it work at the moment.
Thank You for the help!! The map is pretty cool and will make Checking the data for the entire region offshore much easier!
Dawg |
|
|
|
 |
Dawg

|
Posted:
Fri Jan 20, 2006 7:26 am |
|
LOL....That took like forever to do. Why are the Style tags an issue?
I guess this is a topic for another day....
Dawg |
|
|
|
 |
Raven

|
Posted:
Fri Jan 20, 2006 10:37 am |
|
Quote: | LOL....That took like forever to do. Why are the Style tags an issue? |
Code injection. |
|
|
|
 |
Dawg

|
Posted:
Sat Jan 21, 2006 4:55 am |
|
Raven, Do you see any glowing errors in there?
Dawg |
|
|
|
 |
Raven

|
Posted:
Sat Jan 21, 2006 10:12 am |
|
I haven't even had time to look at this - sorry |
|
|
|
 |
Dawg

|
Posted:
Mon Jan 23, 2006 7:24 pm |
|
Raven,
If you catch a moment, I am still stuck on this. I posted it on a couple other Nuke-javascript kind of places....with no replies.
Just a once over to see if I have the method correct. I think I do..... I have tried to make the "Raven" way....The "Codewiz" way and the Nuke "How To" way....none of them worked.
This will be a center up piece on my site....If I can get it to work!
As always....Thank You for your time!!
Dawg |
|
|
|
 |
Raven

|
Posted:
Mon Jan 23, 2006 10:11 pm |
|
I will need all the pieces to test this here. Zip it all up and email it. Include any special instructions for setting it up. Thanks. |
|
|
|
 |
Dawg

|
Posted:
Mon Jan 23, 2006 11:13 pm |
|
I zipped it all up.....and I will write the readme in the morning early. Thank You for taking the time to look. I do not have your e-mail....so I will assume it is here on the site.
Thanks Again!
Dawg |
|
|
|
 |
Raven

|
Posted:
Mon Jan 23, 2006 11:24 pm |
|
raven (_AT) ravenphpscripts (_DOT) com |
|
|
|
 |
Dawg

|
Posted:
Tue Jan 24, 2006 6:15 am |
|
|
|
 |
Raven

|
Posted:
Tue Jan 24, 2006 7:03 am |
|
|
|
 |
Dawg

|
Posted:
Tue Jan 24, 2006 9:57 am |
|
Raven,
I sent you another one.....I checked the outbox....it went to the correct address both times...??
You can pick it up here....
Got it!
It says MapTest
Let me know when you have it so I can pull the link....
Dawg |
|
|
|
 |
|