Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

jquey mobile can't hyerlink correctly

I am working on a page where I have a button in the header to hyperlink back to main page and I get http://sportsnetwork.com/gamecast/DailyNBA.html the correct web page but I don't get that I get check it out jUST CLICK THE LINK AND THEN CLICK A TIME OF A GAME THEN TRY TO NAVIGATE BACK BY CLICKING BUTTON IN RIGHT UPPER CORNER.

What's going on? EE
0
powerztom
Asked:
powerztom
  • 5
  • 4
1 Solution
 
GaryCommented:
Your html is screwed up. Note the bolded parts

<!DOCTYPE html>
<html lang="en">
1.1/jquery.mobile-1.1.1.min.css">

<head>
<meta charset="utf-8">
<title>NHL GAME LOG</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.
   
    <!-- JavaScript HTML requirements -->
      <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
0
 
powerztomAuthor Commented:
If you click on Index.html it goes to Nba Games cause it doesn't have a gameid assigned to be it. In my company we have windows 2000 in the network I downloaded MS web Expressions cause I like a gui that's why I made the mistake you pointed out. here is index works fine Index.html

Ok Now here is the games lineup ande where you go to index page it has the gameid in url but I want a back button I can use throughout the web app. So clicking back #/gamecast/DailyNBA.html gets appended to http://sportsnetwork.com/GAMECAST/NBA/Index.html?gameID=18453. Instead of just going to thr originasl link http://sportsnetwork.com/GAMECAST/DailyNBA.HTML

Check it out dailynba  Gary Help Please Actually after checking it out I have a html tag issue at bottom it looks like
/td>  
   
   
 
NBA GAMECAST 2014  appears oddly your feedback is welcome
0
 
GaryCommented:
Remove
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
You already have a script tag for the latest version.

And fix this
<table width="100%" height="100%" "border="0" align="left">
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
powerztomAuthor Commented:
Cathal what's up

I removed jquery script like you said then I removed
<table width="100%" height="100%" "border="0" align="left">
  <tr>
    <td></td>
  </tr>
  <tr>
    <td>/td>
  </tr>
</table>
now when I click the nba games button i get this in url line http://sportsnetwork.com/GAMECAST/NBA/Index.html?gameID=18453#/gamecast/DailyNBA.html and this is what I see the hyperlink is instead of going to http://sportsnetwork.com/gamecast/dailynba.html it appends #/gamecast/DailyNBA.html to the path here is the error message I get
error message screen
0
 
powerztomAuthor Commented:
ThankYou I losed css formatting on the webdoc any suggestions? But thanks for spotting my errors
0
 
GaryCommented:
You keep screwing your html up.

Half opened script tag for no reason
<script type="text/javascript" 

<script type="text/javascript">
$(document).ready(function() {

});
</script>

Open in new window

No closing tag
<div data-role="header" data-position="inline"

Open in new window

0
 
powerztomAuthor Commented:
I'm using Web Expressions by Microsoft cause of alots of html slop but I really should blame a poor product I should have kept my eyes open and researched more.
0
 
GaryCommented:
It's got MS in the front of it - what do you expect?
0
 
powerztomAuthor Commented:
I can't argue with you. Now I'm not the best coder But this MS WEB EXPRESSIONS has a mind of it's own I like Dreamweaver at least that can tell you if your javascript has a syntax error and I like it's GUI. i'M NOT A NOTEPAD GUY Maybe one day.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now