Hi,
My GWT module UI is only single button (like AddThis/ShareThis Sharing Button), and all other stuff is done in JS Popup panels. Id is specified as Global JS variable (i.e. myConfig.id=22) and getting that Id in GWT module using JSNI method ($wnd.myConfig.id).
NOTE: There is also another way pass parameter, which is by setting
<di...
I'm having a problem of instantiating a class object, what I want to do is to instantiate the object with constructor accepting "String",
here is the code:
Object object = null;
Class classDefinition = Class.forName("javax.swing.JLabel");
object = classDefinition.newInstance();
it instantiate the JLabel object without a text, i wa...
hello, i am searching for a way to disable copy and paste from my form using javascrip.
i dont want the user to be able to past anything to the form or copying anything.
help please.
...
I have 2 divs. 1st div should automatically change own height if 2nd div height was changed.
var height = jQuery('#leftcol').height();
height += 20;
jQuery('.rightcol-botbg').height(height);
There is no ability to change HTML markup :(
I have many DHTML layout changes, so I can't run prev. code anytime.
I want to run it dynamicall...
Hi,
I am not sure where i've seen this before, but im sure that there is a way to make horizontal scroll.
Lets say, for example you have multiple DIVs is the ff: structure:
<div class="container">
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
</div>
Im looking for ...
Hi, once again, IE is proving to be the biggest pain in the world, on headset.no, we have a small blue search field, when you type for example "jabra" into it, it should generate a div that gives you suggestions underneath, this works perfectly in Chrome, Safari, opera and FF, but of course, IE has another idea of what to do with it.
I...
How can I show different IMGs in my HTML in a UIWebView, based on the iPhone's orientation? (Sorry if this is a trivial question...)
...
I recently attempted the adding zen-coding to my tool box of software development box of magic and have been mostly underwhelmed by it. Whether or not this is because it truly is technically deficient or rather suffers from documentation deficiencies I am not sure. Regardless, I can't seem to use zen to generate this very simple and comm...
On my page I have a table, and this table has a list of items plus an edit button.
When the edit button is clicked, I want to fill the form with the information specific to that entry in the table. All the information is stored in a mySQL database and can be accessed by PHP.
I need my javascript on the edit button to get the table row ...
Hello all,
I have a <%= Html.TextBoxFor(user => user.Name) %>
and it has standart width. What schould i do to make textbox widther?
Thanks and take care,
Ragims
...
I am not strong on my PHP knowledge, but I have never seen this before. In a config file, there are a list of options defined in an array like so:
$testarray[] = "None";
$testarray[] = "Item 1 with normal text";
$testarray[] = "Item 2® with html encoded string";
$testarray[] = "Item3® with another html encoded string";
So now...
I'm new to Python and I have been trying to search through html with regular expressions that has been parsed with BeautifulSoup. I haven't had any success and I think the reason is that I don't completely understand how to set up the regular expressions properly. I've looked at older questions about similar problems but I still haven't ...
Hi,
I'm trying to devise a form that will allow me to input multiple contacts. It's a pretty long form so far and I want to keep it as short as possible. I was thinking of just having one set of fields for contact inputting which will add this contact to a list box or gridview but I'm not sure that is the most elegant solution. Could...
look at this image
see the white are below the grey... its not supposed to be there find me a cure
<table border="0" cellpadding="0" cellspacing="0" height="30">
<tr>
<td>
<div class="mainmenu">
<ul>
<li class="li_nc"><a href="/" target="_self" >HOME</a></li>
<li class="li_hc"><a href="#" >PROGRAMS</a...
Hi all,
I have an PHP page with information [tables , data ] When user click on print I want it to be printed in Landscape[ view 70%] how to do it programmatically ?
I tried some css rotation of page but didn't work out.
...
Hi.
Is there a way to select all CSS rules of an element with JavaScript? I'm not looking for a specific solution, just as long as all CSS rules of a given element are read.
So, I have the following HTML
<div class='styledDiv' style='height:100px;width:100px;'></div>
and then in a separate CSS file:
.styledDiv
{
background-color:...
The code below works properly in all browsers but IE.
The overflow doesn't work. Thanks.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
#scroll {
width: 500px;
height: 250px;
overflow: auto;
}
.box {
position: relative;
height: ...
I'm trying to position my picture a little bit lower so the center of the image aligns with the vertical center of the header tag.
Here is the both the HTML and the CSS. Thanks for the help!
#articlesummary
{
border: 2px solid red;
width: 750px;
}
#articlesummary h3
{
border: 2px solid red;
display:inline;
co...
Hi
Is there a way to prevent a line break after a div with css?
For example I have
<div class="label">My Label:</div>
<div class="text">My text</div>
and want it to display like:
My Label: My text
thanks for your help
Update:
After no css solution led to a completly satisfying solution I will use <span> like some ans...
I don't understand why FF and Chrome render my page differently. Here's a screenie of it in
firefox:
and here's one in chrome
chrome:
fieldset has a relative position and the image has an absolute position.
here's the basic structure:
<fieldset class="passenger-info">
<legend>Passenger 1</legend>
<div class="remove-me">
...