I have a single URL i am using as an image gallery. At this URL is a thumbs div (i'm only showing four thumbs for the sake of brevity):
<div id="thumbs">
<img src="graphics/thumbs/01.jpg" width="190" height="190" class="thumb objects" id="project01" />
<img src="graphics/thumbs/08.jpg" width="190" height="190" class="thumb web" id="pro...
I have a list of retailers and their logos and what I wanted to do was display them on a google map. I suppose the purpose of it is to demonstrate the extend of our market reach.
What I want to do is be able to add the markers, however when I click on them, I would want to replace the text in the speech bubble to my own text, and also i...
I am using native process API of Air2 in HTML/Js framework.
The problem comes when i try to make object of NativeProcessStartupInfo.
Here is mine code
if(air.NativeProcess.isSupported){
var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
Whenever i try to execute this code i got this error.
TypeError: Result of e...
Hi everybody.
I've got an iPhone app that need to be localized.
No problem with strings, but, I'm having trouble with resources : I need to load HTML pages that are localized.
The files are like : presentation.htm
The files are added in the project with the folder where they are (html/), and it add the group called as the folder.
I...
how to set all links(href) in the page to "#" with javascript
...
Hello . I have a code of color. For example #202010 . How to generate a new color code which is either lighter or darker by 20% (or given x%) in php.? Please help me . I see a sample in javascript but i don't understand it. PLEASE HELP ME
...
Hello,
I am trying to use google transliterate and translate some text from english to a diffrent language. I am able to do this using the following code in the javascript.
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
...
I have converted a textbox search to Google Search using :
location.href = "http://images.google.com/search?q=" + val;
But, I want options of Web Search, Image Search, Local Search & News Search.
I do have :
<tr height="40">
<td width="80%" align="center" ><input id="searchText" type="text" size="100"/></td>
<td class="searchbox" wi...
Based on my co-worker's code, he is passing HTML attributes into his form declaration in the view using BeginForm and the resulting HTML looks like:
<form action="/Reviewer/Complete" ipbID="16743" method="post">
How can I obtain the ipbID in my Controller code? I've trying
HttpContext.Request.QueryString["ipbID"]
... and ...
Req...
Dear experts,
I have been working on a web page and would like to load multiple stylesheets in an external library.
Unfortunately, this library has many CSS files spread under the same folder.
The names are complicated and its such a pain to manually link it one by one.
As it
<link type="text/css" href="site/libraries/folder/highli...
hello, how can i send html table to a servlet to a jsp
in my Action class i have a table i want to send this table to my jsp with a request.setAttributes("table",tableHtml);
...
The fancybox autoscale option doesn't seem to take into account the size of my captions. I need something that will put, not just the image, but the image and the caption in the viewport.
You can see what I mean here: http://getahobbydesign.com/projects.html
...
Why should I use a "Strict" doctype vs "Transitional"? It seems like "Strict" is like it says, more strict. I seem to have a hard time getting things to work (css) properly vs using transitional.
...
hello all
i have the following code for search from database show return result to the page and show them with jqgrid, my code works fine with firefox but its not work on ie, when i use of utf8
like arabic letters, i set both of encoding of ie, and firefox to unicode(utf8)
its html code
first name: <input type="text" id="firstname" ...
I'm having problems with the menus of a site I'm developing. Here's what the menus look like in different browsers.
Chrome 5
Opera 10
Firefox 4 Beta 2
Internet Explorer 8
The menu looks okay in Chrome, but in some browsers the little arrow is wrapped onto the next line. Additionally, in Firefox and IE the menu item overlaps ...
Hi to all,
I would like to select all the tables where the id starts with the same sentence, with jquery.
This what I mean:
<table id="Tab_01">
<tr>
<td>....
<tr>
....
</table>
<table id="Tab_02">
<tr>
<td>....
<tr>
....
</table>
<table id="Tab_03">
<tr>
<td>....
<tr>
....
<...
I'm building a navigation menu for a website and the menu has submenus. When the submenu slides down, it needs to lie behind the main navigation. I've tried using z-index but it won't work. Since the submenu is a child of the LI, is it not able to lie behind?
The code is a bit verbose due to the image sprite, so I'll link to a pastie...
This is a screenshot of a table in Chrome 5.
The same table rendered in IE8:
You can view the page here:
http://labs.pieterdedecker.be/vspwpg/?page_id=96
This CSS rule adds the padding that IE8 won't respect:
td#content table.subitems { padding: 5px; }
...
I'm looking to implement a live diff inside a webpage that preserves whitespace.
I've done something similar in the past using a combination of TinyMCE and JQuery in IE6 (required for that project) but it didn't preserve whitespace. (It wasn't supposed to, but I didn't add anything to make it do that, it just did). TinyMCE wasn't idea...
I have an <a> tag that contains a span. The span has javascript attached to it that does something. As a result, when the span is clicked, the javascript runs, but the <a href> is ignored and it doesn't navigate to it.
Is there a way to make it continue to navigate as normal?
<a href='http://www.google.com'><span>some text</sp...