Reply
my script not working
Old 11-07-2009, 04:30 AM my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
The Dymanic Drive script is not working in the following code:

HTML Code:
<head><link rel="stylesheet" type="text/css" href="anylinkmenu.css" />

<script type="text/javascript" src="menucontents.js"></script>

<script type="text/javascript" src="anylinkmenu.js">

/***********************************************
* AnyLink JS Drop Down Menu v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm for full source code
***********************************************/

</script>

<script type="text/javascript">

//anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu)
anylinkmenu.init("menuanchorclass")

</script>
</head>    
<body>
<ul>
                        <li><a href="http://www.cricpak.5gigs.net/">Home</a></li>
                      	<li><a href="http://www.cricpak.5gigs.net/forums/" class="menuanchorclass" rel="anylinkmenu1">Forums</a></li>
                        <li><a href="http://www.cricpak.5gigs.net/live.php">Live</a></li>
                        <li><a href="http://www.cricpak.5gigs.net/ranking.php">Rankings</a></li>
                        <li><a href="http://www.cricpaki.blogspot.com">Blog</a></li>
                        <li><a href="http://www.cricpak.5gigs.net/videos.php">Videos</a></li>
                        <li><a href="http://www.cricpak.5gigs.net/live_tv.php">Live TV!</a></li>
		</ul>
</body>
</html>


This is the original script.
Dymanic Drive
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
 
When You Register, These Ads Go Away!
Old 11-07-2009, 04:32 AM Re: my script not working
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
And "not working" means??
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-07-2009, 04:34 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
there is no effect on forum link.
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-07-2009, 04:36 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
its working in this http://www.cricpak.5gigs.net/test.html
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-07-2009, 04:43 AM Re: my script not working
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
And????

your problem is?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-07-2009, 05:13 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
when i put a mouse icon on the link, nothing happens. but in http://www.cricpak.5gigs.net/test.html the scripts work when u put a mouse on it.
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-07-2009, 05:24 AM Re: my script not working
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
Well;

how about showing us the one that DOESN'T WORK!!!!!!!
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-07-2009, 06:00 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
u need test.html code?
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-07-2009, 06:00 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
here is test.html code:
HTML Code:
<html>
<head> 

<link rel="stylesheet" type="text/css" href="anylinkmenu.css" />

<script type="text/javascript" src="menucontents.js"></script>

<script type="text/javascript" src="anylinkmenu.js">

/***********************************************
* AnyLink JS Drop Down Menu v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/.anylinkclass.htm for full source code
***********************************************/

</script>

<script type="text/javascript">

//anylinkmenu.init("menu_anchors_class")
anylinkmenu.init("menuanchorclass")
</script>

</head> 

<body>
<!--1st anchor link-->

<p><a href="http://www.dynamicdrive.com" class="menuanchorclass" rel="anylinkmenu1">Default Example</a></p>



</body>
</html>
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-07-2009, 06:41 AM Re: my script not working
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
No we need YOUR PAGE THAT IS NOT WORKING
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-08-2009, 04:45 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
Quote:
Originally Posted by chrishirst View Post
No we need YOUR PAGE THAT IS NOT WORKING
it is working here

menu.php

but not here

Cricpak
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-08-2009, 05:17 AM Re: my script not working
chrishirst's Avatar
Super Moderator

Posts: 22,223
Location: Blackpool. UK
Trades: 0
Where it is supposed to open?

Because if it is in the same space as the Flash advert it probably will be working but you simply can't see it as it will be underneath the Flash object in the page z-order.

To test either disable (remove) the Flash object from the page or add
Code:
<param name="wmode" value="transparent">
to the <object> element and
Code:
wmode="transparent"
to the <embed> tag
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-08-2009, 06:01 AM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Where it is supposed to open?

Because if it is in the same space as the Flash advert it probably will be working but you simply can't see it as it will be underneath the Flash object in the page z-order.

To test either disable (remove) the Flash object from the page or add
Code:
<param name="wmode" value="transparent">
to the <object> element and
Code:
wmode="transparent"
to the <embed> tag
you r right, it is at the bottom of the page.

after adding the codes in flash object, then too its not working.

Code for index.php
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META name=\"y_key\" content=\"5de7b152496f34e3\" >
<META name="y_key" content="5de7b152496f34e3">
<meta name="google-site-verification" content="hYE3TaGbm8DdoEuGU1l4sdMGohW6EbbOBzCFCV4BR1Y" />
<meta name="msvalidate.01" content="E6CFE4A5E392B0AED56701AA97963759" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Cricpak - Home</title> 
<meta name="description" content="Welcome to the Cricpak - The Home of Pakistani Cricket. Cricpak offers you Cricket News, Updates, Pakistani Cricket Forums and International Cricket Forum. Cricpak also offers you Cricket TV!."> 
<meta name="keywords" content="Cricket Website, Cricket Site, Cricket Games, Pakistani Cricket, Pakistan Cricket, Cricket Pakistan, Cricpak, Cricket Forum, Pakistan Cricket Forum, Pakistani Cricket News, Cricket Pakistani News, Pakistan Cricket News, Pakistani Cricket Videos, Cricket Pakistani Videos, Cricket News, Cricket Updates, Pakistani Cricket TV!, Cricket Pakistan Updates"> 
<META NAME="Distribution" CONTENT="Global"> 
<META NAME="Robots" CONTENT="Index">
<link REL="SHORTCUT ICON" HREF="http://www.cricpak.5gigs.net/images/favicon.ico">
</head>

<body>
<div id="container">
	<div id="header">
		<div id="logo_w1"></div>
                <div id="logo_w2"></div>
				<div id="header_text">
			<p>Home</p>
			
		</div>

		<?php include("menu.php"); ?>

	</div>
	<div id="content">
		<div id="left">
<br>&nbsp;</br>
<center><object type="application/x-shockwave-flash" data="http://www.widgets.cricinfo.com/o/482d7c9bdbd9105b/4a161050cfce4625/4a160e62cfcff927/ac9469e0" id="W482d7c9bdbd9105b4a161050cfce4625" width="300" height="250"><param name="movie" value="http://www.widgets.cricinfo.com/o/482d7c9bdbd9105b/4a161050cfce4625/4a160e62cfcff927/ac9469e0" /><param name="wmode" value="transparent" /><param name="allowNetworking" value="all" /><param name="allowScriptAccess" value="always" /></object></center> 

<h1>BBC Cricket</h1> 
<?php include("rss.php"); ?>

<h1>Cricpak - Match Discussions</h1>
<ul>
<li><a href="http://www.cricpak.5gigs.net/forums/viewtopic.php?f=2&t=22">Pakistan vs New Zealand 2nd ODI, Abu Dhabi 2009</a></li>
<li><a href="http://www.cricpak.5gigs.net/forums/viewtopic.php?f=2&t=20">Pakistan vs New Zealand 1st ODI, Abu Dhabi 2009</a></li>
<li><a href="http://www.cricpak.5gigs.net/forums/viewtopic.php?f=4&t=5">Younis offers to quit as captain</a></li>
</ul>

<h1>Cricinfo! News</h1>	
<left> <script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fcontent.cricinfo.com%2Frss%2Fcontent%2Ffeeds%2Fnews%2F0.xml&amp;num=5&amp;desc=50&gt;1&amp;tz=+5" type="text/javascript"></script> 
 
<noscript> 
<a href="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fcontent.cricinfo.com%2Frss%2Fcontent%2Ffeeds%2Fnews%2F0.xml&amp;num=5&amp;desc=50&gt;1&amp;tz=+5&amp;html=y">View RSS feed</a> 
</noscript> 
 	

<h1>Cricpak Gallery</h1>
<p><img src="images/players/photo1.jpg" height="80" width="100" alt="Shoaib Malik & Afridi">
   <img src="images/players/photo2.jpg" height="80" width="100" alt="Toss of ICC Twenty20 2009 Final">
   <img src="images/players/photo3.jpg" height="80" width="100" alt="Dilshan playing shot">
   <img src="images/players/photo4.jpg" height="80" width="100" alt="Mathews catching the ball">
</p>
<p><img src="images/players/photo5.jpg" height="80" width="100" alt="Celebrating the victory.">
   <img src="images/players/photo6.jpg" height="80" width="100" alt="Coach watching the Trohpy">
   <img src="images/players/photo7.jpg" height="80" width="100" alt="Akmal celebrating the wicket">
   <img src="images/players/photo8.jpg" height="80" width="100" alt="Pathans of Pakistani Team">
</p>
<p><img src="images/players/photo9.jpg" height="80" width="100" alt="Afridi playing shot.">
   <img src="images/players/photo10.jpg" height="80" width="100" alt="Pakistani team celebrating wicket">
   <img src="images/players/photo11.jpg" height="80" width="100" alt="Pakistani team celebrating wicket">
   <img src="images/players/photo12.jpg" height="80" width="100" alt="Misbah & Malik taking a run">
</p>
<p><img src="images/players/photo13.jpg" height="80" width="100" alt="Malik appreciating Misbah">
   <img src="images/players/photo14.jpg" height="80" width="100" alt="Aamir celebrating a wicket">
   <img src="images/players/photo15.jpg" height="80" width="100" alt="Pakistani players looking for a ball">
   <img src="images/players/photo16.jpg" height="80" width="100" alt="Saeed Ajmal bowling a Ball">
</p>
             </div>
                     	
<?php include("footer.php"); ?>
footer.php
HTML Code:
<div id="right"> 
			<h2>Latest Topics!</h2>
                        <a href="http://www.cricpak.5gigs.net/forums/viewtopic.php?f=4&t=19">Tallest cricketer of the world.</a> 
			<p>Mohammad Irfan (DOB June 6, 1982) is a Pakistani left-arm medium-fast bowler, hailing from Punjab. His height is a reported 7 foot 1 inches, which would make him the tallest player to play first class cricket.</p>
			<a href="http://cricpak.5gigs.net/forums/viewforum.php?f=3">Pak vs Kiwis Series</a> 
			<p>Pakistan vs New Zealand Series Discussions, News, Videos, Match Highlights, Scorecards, Players Discussion, Fixture, Live Coverage and much more.</p>
			<a href="http://cricpak.5gigs.net/forums/viewforum.php?f=10&sid=01f396b3879e5c23cc70d080531a5a5b">Quaid-e-Azam Trophy</a> 
			<p>Quaid-e-Azam Trophy Discussions, News, Videos, Match Highlights, Scorecards, Players Discussion, Fixture, Live Coverage and much more.</p> 
			
                        
                        <h2>Cricpak 2go</h2>
                        <center><table><tr><td>
<div ctid="CT1871326" bannerid="100716d3-d1b7-4989-9cd1-517786ab82a2" style="display:compact; cursor:pointer;" ctname="Cricpak" title="Take stuff from this website with you 2go.">    
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td valign="middle">
                    <a href="http://Cricpak.OurToolbar.com/" imagelink="true">
                    <script type="text/javascript">
                        document.write('<img alt="Take stuff from this website with you 2go." style="border: 0;" src="http://storage.conduit.com/26/187/CT1871326/ToGoButtons/100716d3-d1b7-4989-9cd1-517786ab82a2/633861843822981250'
                                + (/MSIE ([0-6])/.test(window.navigator.userAgent) ? '.gif' : '.png')
                                + '"/>');
                    </script>
                    </a>
                    </td>
                   <td valign="middle">
                        <a href="http://Cricpak.OurToolbar.com/" textlink="true"></a>
                    </td>
                </tr>
            </table>
      <noscript>
        <div>
   <a href="http://Cricpak.OurToolbar.com/">
        <img alt="Take stuff from this website with you 2go." style="border: 0;" src="http://storage.conduit.com/26/187/CT1871326/ToGoButtons/100716d3-d1b7-4989-9cd1-517786ab82a2/633861843822981250.gif"/></a>
            </div><div>
        <a href="http://www.conduit.com/">Conduit</a> Open compatible</div>
</noscript>
<script src="http://www.conduit-banners.com//togo/?ctid=CT1871326&bannerId=100716d3-d1b7-4989-9cd1-517786ab82a2">
</script>            
</div>
</td></tr></table></center>

                        <h2>Latest Video</h2> 
                        <center><a href="http://www.cricpak.5gigs.net/videos.php"><img width="170" height="130" src="http://www.cricpak.5gigs.net/images/latest_video.jpg"></a></center> 
                                                
                        <h2>Search</h2> 
                        <center><form action="http://www.cricpak.5gigs.net/search_results.php" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="014347967744865180143:9wk9mlwyvui" />
    <input type="hidden" name="cof" value="FORID:9" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script></center> 
                        <h2>Translate</h2> 
                        <center><script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=160&h=60&title=&border=&output=js"></script></center> 
                        <h2>Our Partners</h2> 
                        <center><a href="http://www.forumpakistan.com/" title="Pakistan Forum"><img src="images/forumpakistan1.jpg"></a></center> 
                        <br><center><a href="http://cooltext.com" target="_top"><img src="http://cooltext.com/images/ct_button.gif" width="88" height="31" alt="Cool Text: Logo and Graphics Generator" /></a></center></br> 
		</div> 
		<div id="footerline"></div> 
	</div> 
	
	<div id="footer"><p>
<table border="0" cellspacing="0" cellpadding="3" width="100%" align="center">
  
  <tr>
    <td background="images/footer_banner.gif"><div id="foot1"><a href="http://www.cricpak.5gigs.net/cntctus.php"><font size="1" face="Verdana">Contact us</font></a>&nbsp;|&nbsp;<a href="http://www.cricpak.5gigs.net/aboutus.php"><font size="1" face="Verdana">About us</font></a></div></td></tr>
  <tr>
    <td background="images/cricpak_banner.gif"><br><center><a id="mws4524788" href="http://webstats.motigo.com/"> 
 
<img width="18"  align="center" height="18" border="0" alt="Free counter and web stats" src="http://m1.webstats.motigo.com/n.gif?id=AEUK9AP1Ryr_XyJ66Aayy4etRzHw" /></a>
 
<script type="text/javascript" src="http://m1.webstats.motigo.com/c.js?id=4524788"></script></center></br>
<center><br><script src="http://hosting.conduit.com//Banners/Counters/CounterBanner.js"></script> <script>var __culture='en';var __bannerBaseUrl = 'http://hosting.conduit.com/'; var __counterType = 'ClassicWhite';var __ctid = 'CT1871326'; var __counterKey = 'f7e038dfc84c2f1e59fb3d58b2c252a4';  var __downloadUrl = 'http://Cricpak.OurToolbar.com/exe'; __CreateToolbarCounter();</script></br></center></td></tr></table></p>

            </div>	
</div> 
 
 
</body> 
</html>
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Old 11-18-2009, 06:05 PM Re: my script not working
asmalik12's Avatar
Average Talker

Posts: 28
Name: Abdullah Saleem
Trades: 0
yeah the script is showing at the bottom of the page.
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam
asmalik12 is offline
Reply With Quote
View Public Profile Visit asmalik12's homepage!
 
Reply     « Reply to my script not working
 

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.18037 seconds with 13 queries