Solved

jquey mobile can't hyerlink correctly

Posted on 2014-02-05
9
272 Views
Last Modified: 2014-02-06
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
Comment
Question by:powerztom
  • 5
  • 4
9 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39836762
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
 

Author Comment

by:powerztom
ID: 39836880
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
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39836975
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
 

Author Comment

by:powerztom
ID: 39837022
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Closing Comment

by:powerztom
ID: 39837029
ThankYou I losed css formatting on the webdoc any suggestions? But thanks for spotting my errors
0
 
LVL 58

Expert Comment

by:Gary
ID: 39837052
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
 

Author Comment

by:powerztom
ID: 39837232
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
 
LVL 58

Expert Comment

by:Gary
ID: 39837241
It's got MS in the front of it - what do you expect?
0
 

Author Comment

by:powerztom
ID: 39838880
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
FTP File permissions 1 29
Menu Inconsistent 3 20
Bootstrap 3 and Angular 2 12 23
SVG Logo 4 18
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now