Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1019153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:58:03+00:00 2026-05-16T10:58:03+00:00

I’m trying to enable functionality in my web app to allow users to click

  • 0

I’m trying to enable functionality in my web app to allow users to click on the company’s logo to link back to the main page of the web app using JQtouch. With my current code, I’m getting the an error in the web inspector saying that there are “No pages in the history” when I click on the image.

Here is an example:

<a href="#mainScreen"><img src="images/logo.gif"></a>

Basically, I want to use this image as a link, have the animation transition work properly and have the flexibility of using # notation to reference different screens of my html file.

current code:

<html>
<head>
    <title>main</title>
    <link type="text/css" rel="stylesheet" media="screen" href="jqtouch/jqtouch.css">
    <link type ="text/css" rel="stylesheet" media="screen" href="themes/jqt/theme.css">
    <script type="text/javascript" src="jqtouch/jquery.js"></script>
    <script type="text/javascript" src="main.js"></script>
    <script type="text/javascript" src="jqtouch/jqtouch.js"></script>
    <script type="text/javascript">
        var jQT = $.jQTouch({
            statusBar: 'black'
        });
    </script>
</head>
<body id="stackLayout">
    <div id="mainScreen">
        <div class="toolbar">
            <a class="button flip" href="#friends" style="margin-right: 250px">Friends</a>
            <a class="button flip" href="#nearby" style="margin-right: 193px">Nearby</a>
            <a class="button flip" href="#me" style="margin-right: 160px">Me</a>
            <a class="button flip" href="#settings" style="margin-right: 80px">Settings</a>
            <img style="float: right; margin-right: -14px; margin-top: -10px" src="images/logo.jpg" onclick="logo_onClickHandler(event)">
        </div>

        </div>
        <form method="post" style="margin: 150px 0 0 0">
                        <ul>
                            <li><input placeholder="When" type="text" name="when" id="whenField" /></li>
                            <li><input placeholder="Where" type="text" name="where"
                                id="whereField" /></li>
                            <li><input placeholder="" type="text" name="weight"
                                    id="weight" /></li>

                            <li><input type="submit" class="submit" name="action" 
                                value="Post" /></li>
                        </ul>
                    </form>
    </div>

Here is my JS:

$(document).ready(function(){

});

function logo_onClickHandler(event) {
var views = document.getElementById('stackLayout')
var main = document.getElementById('mainScreen');
if (views && views.object && main){
    views.object.setCurrentView(main, true);
}



}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:58:04+00:00Added an answer on May 16, 2026 at 10:58 am

    This is a bug in using the jQTouch on the main site (or from the downloads in google code). The issue is reported here: http://code.google.com/p/jqtouch/issues/detail?id=103.

    To fix this issue, use the newest in svn or any jqtouch r113 on higher. (The one in svn is r148 currently and the one from main site is r109.)

    Link to svn is here:Google Code for jQTouch

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.