Hi all,
I have a simple form with some input fields and a dropdown list ().
I use 'return false' with jQuery to avoid the page to refresh after I submit the form and this works like it should.
However, with the 'select' html in the form it does refresh the page and this is not what I want.
Does anybody have an idea on how to avoid the ...
Hi everyone,
I am trying to program into my .phtml files an if statement if the guest is on a category list page, or on a product page.
For example this code:
<?= Mage::app()->getFrontController()->getRequest()->getRouteName(); ?>
Returns "catalog" whenever l'm on a page other than a CMS page.
Is there a way l can use a similar m...
How do you make horizontal scrolling pages like the iPhone menu? It's for a touchscreen application and I want to make several pages with buttons.
...
On the Wordpress dashborad page for writing a new/editing an existing post, is it possible to have the 'Publish' module appear at the bottom right (be the last module on the right) as a default, without having to drag and drop it there?
I'm okay with changing the code in the core files, I just need to know how to do it ?
...
My webpage is using some api's together and the total process time for the page to load is around 8 seconds. I want to show a page loading image while the page is loading. Could be like the whole page is dimmed out and an image is shown which represents the page loading and once the page loads i want to go back to my page. How can i show...
Is there any way to get a UIWebView (or any Browser for that matter) to respect CSS @Page rules when viewing on the screen?
Basically I have a presentation slide show (similar to powerpoint) in HTML and I want every page to have a precise size. margins etc. even if I change the styles.
So far it seems like the browser ignores @page ru...
Hi,
In http://github.com/facebook/connect-js/blob/master/src/core/ui_methods.js methods.js documentation, there is the following note:
"Consider putting complex UI methods
in their own modules."
Anybody knows if is possible to instantiate an "Add to my pages" dialog, based on Application Profile's link?
What is the name of the...
Hi,
Do we get any undesired results when we use application cache in combination with page cache in php?
Thanks & Regards,
Satya
...
Hi. For some reason jQuery's fadeIn is making my page jump to the top. Each different div it fades in makes the scroll bar go a different size so I think this might be why 'return false' isn't working. Here is the code:
jQuery(document).ready(function($) {
//When page loads...
$(".tab_content").hide(); //Hide all content
$("ul.tabs...
how to get <head> content of the current page
...
hi all, thanks for coming in and looking at my question.
I have a page that has a bunch of dynamic a tags with ids like aTag1, aTag2 ans so on.
now I need to make these tags open the same lightbox that initially loads a partial page named register.php,
and the user will fill out the form, sumbit it then go to another partial page name...
I want to print first page of a pdf document. Now i can pring all pages of pdf document. But i need to print firsft page. I am using Acrobat Reader and my programming language is C#.
...
It appears the start page is an html document rendered somehow. I know about jWebPane, but its dead and the only other active solution I can find is to embed firefox which is a huge dependency and eats up a ton of memory. Is there any lightweight solution for this?
...
I have a Page within a WPF navigation-style application that displays search results. The page contains several data-bound controls. The page itself works fine; it performs the search and returns results. The data-bound CheckBox controls work properly.
But if I click a result link and then click the back button to return to the results ...
I am developing a ASP.Net web site and my page works normally in IE/Firefox/Opera
This is the page source 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><title>
Content Navigation
</title><meta ht...
I have a function which sets my linkbutton as the default button for a panel.
protected void Page_PreRender(object sender, EventArgs e)
{
string addClickFunctionScript = @"function addClickFunction(id) {
var b = document.getElementById(id);
if (b && typeof(b.click) == 'undefined')
...
I have a paged WPF(.Net4) application which is too big for the screen when being used on a netbook. I'd like to be able to resize and scroll (as we do when using a webpage) but currently all items outside of the view are not accessible.
I suspect there's probably a simple solution but I just don't know.
Thanks in advance.
UPDATE
The N...
I have a controller and a gsp. I go ahead and attempt to build the project but receive issues on my gsp.
It is telling me "The current scope already contains a variable of the name it"
<html>
<head>
<title>Book Collector</title>
<meta name="layout" content="main" />
</head>
<body>
<h1>Book Editor</h1>
<table>
...
Is there's a way to know, in javascript, if the page will change ?
During an event (ie a click) is there a way to know what is the coming page without checking element's href (if clicking on a link) or form's action (if submitting a form) ?
...
Hi,
I am trying to do a very simple task here, I would like to be able to click a button on a page and have it take me to another page. I have tried window.location.href, and a bunch of other things and it does nothing. I have tried different platforms and different browsers, all with the same result.
I know that it can call a functio...