[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

01/22/2008 at 05:23AM PST, ID: 23100984
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

location.hash reload in safari

Asked by secuteamers in JavaScript, Web Languages/Standards, Adobe Flash

Tags: javascript

i'm using the location.hash to refresh my page without reloading the whole page. This works perfectly in firefox, IE6, IE7 and safari for pc. But NOT in safari on Mac.

Below my code snippet. Does anyone have a clue?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script type="text/javascript" src="jscript/swfobject.js"></script>
<script type="text/javascript" src="jscript/JavaScriptFlashGateway.js"></script>
 
<link rel="stylesheet" href="css/default.css">
 
<script type="text/javascript">
	function addEvent( obj, type, fn ){ 
	   if (obj.addEventListener){ 
	      obj.addEventListener( type, fn, false );
	   }
	   else if (obj.attachEvent){ 
	      obj["e"+type+fn] = fn; 
	      obj[type+fn] = function(){ obj["e"+type+fn]( window.event ); } 
	      obj.attachEvent( "on"+type, obj[type+fn] ); 
	   } 
	} 
 
	function checkLocation() {
		var newId = getCurId();
		
		if(newId != curId) {
			curId = newId;
			showUrl(curId);
		}
		
		setTimeout(checkLocation, 50);
	}
 
	function getCurId() {
		var hash = window.location.hash;
		if(!hash) return 0;
		if(hash == "#") return 0;
		return hash.indexOf("#") == 0 ? hash.substring(1) : hash;
	}
 
	function showUrl(id) {
		if(!id) return;
		
		flashProxy.call("showUrl", id);
	}
 
	var uid = new Date().getTime();
	
	var flashProxy = new FlashProxy(uid, "jscript/JavaScriptFlashGateway.swf");
	var curId = getCurId();
	
	addEvent(window, 'load', checkLocation);	    
</script>
</head>
<body>
 
	<div id="flashcontent">
		<ul>
			<li><a href="http://www.arguslifestyle.be/index.php">Home</a></li>
			<li><a href="http://www.arguslifestyle.be/index.php#1-1-1">Argus Lifestyle</a>
				<ul>
					<li><a href="http://www.arguslifestyle.be/index.php#1-1-1">Lifestyle</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#1-2-1">Wie is wie</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#1-3-1">Het salon</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#1-4-1">Juwelen</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#1-5-1">In de pers</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#1-6-1">Foto specials</a></li>									
				</ul>			
			</li>
			<li><a href="http://www.arguslifestyle.be/index.php#2-1-1">Argus Woman</a>
				<ul>
					<li><a href="http://www.arguslifestyle.be/index.php#2-1-1">Haar</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#2-2-1">Massage</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#2-3-1">Gelaatsreiniging</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#2-4-1">Producten</a></li>								
				</ul>
			</li>
			<li><a href="http://www.arguslifestyle.be/index.php#3-1-1">Argus Men</a>
				<ul>
					<li><a href="http://www.arguslifestyle.be/index.php#3-1-1">Haar</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#3-2-1">Barbier</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#3-3-1">Massage</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#3-4-1">Gelaatsreiniging</a></li>								
					<li><a href="http://www.arguslifestyle.be/index.php#3-5-1">Producten</a></li>						
				</ul>			
			</li>
			<li><a href="http://www.arguslifestyle.be/index.php#4-1-1">Argus Beauty</a>
				<ul>
					<li><a href="http://www.arguslifestyle.be/index.php#4-1">Anti-aging treatment</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#4-2">Facial treatment</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#4-3">Body treatment</a></li>
					<li><a href="http://www.arguslifestyle.be/index.php#4-4">Relax treatment</a></li>								
					<li><a href="http://www.arguslifestyle.be/index.php#4-5">Silhouet facelift</a></li>						
					<li><a href="http://www.arguslifestyle.be/index.php#4-6">Classics</a></li>						
				</ul>			
			</li>
			<li><a href="http://www.arguslifestyle.be/index.php#5-1-1">Argus Argus Business Lounge</a></li>											<li><a href="http://www.arguslifestyle.be/index.php">Argus Men</a></li>
			<li><a href="http://www.arguslifestyle.be/index.php#6">Openingsuren</a></li>
			<li><a href="http://www.arguslifestyle.be/index.php#7">Jobs</a></li>													
			<li><a href="http://www.arguslifestyle.be/index.php#8">Contact</a></li>
		</ul>
		
		<h1>Argus Lifestyle Waregem | coiffure | schoonheidssalon | wellnes | massage | verzorging | juwelen | manicure | pedicure</h1>
		
		<p>Coiffure Argus in Waregem is meer dan zo maar een kapsalon. Het is een verwenoord waar je volledig tot rust komt. Een gespecialiseerd team bestaande uit kappers, schoonheidsspecialisten, kinesisten... staan klaar om u te verwennen. Bij Argus Waregem kan U terecht voor een gezichtsverzorging, massage, manicure, pedicure, maquillage, epilatie... en zoveel meer. Ook is er een specifieke afdeling voor mannen. Zakenmensen kunnen terecht in de business lounge. Zeker een bezoek waard! Wellness in Waregem, relax in stijl!		
		</p>
	</div>
	
	<script type="text/javascript">
		// <![CDATA[
		var so = new SWFObject("flash/argus.swf", "sotester", "100%", "100%", "6", "#000000");
		so.addVariable("lcId", uid)
		//alert(curId)
		so.addVariable("id", curId);		
		so.addParam("scale", "noscale");
		so.write("flashcontent");
		// ]]>
	</script>
	
</body>
</html>
 
Keywords: location.hash reload in safari
 
Loading Advertisement...
 
[+][-]01/22/08 08:45 PM, ID: 20720873

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/22/08 09:45 PM, ID: 20721074

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/23/08 12:52 AM, ID: 20721764

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/23/08 08:34 PM, ID: 20730633

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/24/08 12:36 AM, ID: 20731617

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/24/08 10:17 AM, ID: 20735674

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Web Languages/Standards, Adobe Flash
Tags: javascript
Sign Up Now!
Solution Provided By: b0lsc0tt
Participating Experts: 3
Solution Grade: B
 
 
[+][-]01/25/08 12:45 AM, ID: 20741013

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/25/08 12:57 AM, ID: 20741052

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01/25/08 01:01 AM, ID: 20741065

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01/26/08 01:59 AM, ID: 20749059

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01/27/08 12:02 AM, ID: 20753009

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/12/08 06:29 AM, ID: 20874996

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 / EE_QW_2_20070628