I am trying to create a frameset and I am doing this using Rails. Basically my view looks like this
<html>
<head></head>
<body>
<frameset>
<frame src="http://www.nba.com" />
</frameset>
</head>
</html>
And my controller looks like
def basket
respond_to do |format|
format.html { render 'basket.html.erb', :layout ...
So looking into Blueprint, the default width is 950px and using 24 columns. My question is why change the columns to either lower or higher? We are still in the end getting 950px total.
Do people do this for more control over the columns?
Thanks.
...
Hi
I have a <script> where it adds to the <head> another script.
This new script is supposed to find the original <script> that inserted it.
can I put <script id="blablabla"> and let the new <script> find it?
<div id="placeholder-1"></div>
<script type="text/javascript">
<//![CDATA[
(function() {
va...
Hi all,
I just need to show my plain html table in which it shows only lines of rows and hide columns in it, so that the another person seeing it, thinks it as a table with one column, but actually it has multiple columns...I cant use colspan, as I need columns as itself...
Please help
thanks..
...
How to build CHM / HTML Documentation with Sandcastle? Can build HTML file from XML or have to used .cs and dll files?
...
How can i get this code to execute even when the focused on the iframe?
<Script>
function check(){ alert("test"); }
</script>
<body onkeydown="check()";>
Onkeydown event only works when focus is not on iframe...<br>
<iframe src="about:blank" frameborder=1;> </iframe>
...
i want show 12"3 in my input tag value
i write this:
<INPUT TYPE="text" NAME="" value="12\"3">
but it's not be right
WHY ?
PS: i must transfer " to " ,or change " to '? i don't like it
...
Hi guys,
I have custom grid made of HTML tables. User can enter values into each cell, then automatically move to the next cell below when they press the DOWN key or ENTER KEY, much like in a spreadsheet.
My problem is, when user types quickly and pressed the DOWN key before he releases another key on keyboard, the last input characte...
Hi there,
to make editing of these fields easier, I'd be nice if their contents were deleted when they're clicked. Also, the default value (presented initially) needs to be submitted if it hasn't changed, this means I'm (probably) not looking for a(n HTML 5) placeholder which gets erased automatically, but actual text. Would be even bet...
I have some turkish characters at my website but I am not able to sme characters very well.There is a problem with nonenglish characters. I encoded it with UTF-8 and added some meta tags to fix this issue but the problem still seems same. Could you please look at the website (you can look at the code by using firebug) and tell me where ...
i have buttons on a page and when the user clicks onto that button, the color of the page changes. basically i`m creating a theme changer. my code is this :
function Red()
{
var Redbtn = document.getElementById("btnRed");
Redbtn.bgColor = "#F00";
}
function Blue()
{
}
Theme changer
ihave done upto the red bu...
Hi,
My problem is simple, the solution though doesn't seem particularly obvious.
I have a Flash site. Currently the Flash object takes up the whole browser and is set to width/height = 100%. This is fine until someone shrinks their browser.
Is there a way to set something like this this.
height = (browser_height < y) ? y : 100%;
widt...
hi all,
see code below..
<div style="overflow:auto;width:250px;height:75px;border:1px solid #336699;padding-left:5px">
<label style="{width:250px;}"><input type="checkbox" name="wow[]" onclick='highlight_div(this);'> PHP</label><br>
<label style="{width:250px;}"><input type="checkbox" name="wow[]" onclick='highlight_div(this);'> LINUX...
I came across this primer on coding HTML: http://css-tricks.com/examples/CleanCode/Beautiful-HTML.png.
Among other things it recommends using one stylesheet per page. I have my CSS styles organized in different stylesheets:
Global (for all pages)
Forms (for all forms)
Customers (for all pages related to customers)
...and so on.
If I...
Hello!
I have html text that's fetched from a database.
The structure of the text is always like this:
<div>Short text</div>Long text
And repetitive: (unpredictible number of times)
<div>Short text</div>Long text
<div>Short text</div>Long text
<div>Short text</div>Long text
<div>Short text</div>Long text
What I want to do is check...
Hi, I have some simple HTML here,
<table class="table shipment" id="payItems">
<thead>
<tr>
<th class="sku">Varekode </th>
<th class="productName">Produkt</th>
<th>Pris</th>
<th>Antall</th>
<th style="text-align: right; padding-right: 80px;">Sum</th>
</tr>
</thead>
<tbody>
...content...
</tbody>
</tabl...
Hi all,
Im trying to make a file input field have the following extensions only ".zip,.rar,.tar,.tar.gz" and i also want to trap event for when file has been selected and dialog has closed. any help
...
Hi,
I've found some solutions for custom drawn dropdown boxes to replace the HTML select element, namely the jquery-image-dropdown solution.
However, how can I get a box which requires a click to open, and overdraws the selected item at the top, as at: http://www.xero.com/
Sorry if that's a bit confusing, essentially I'm looking for a...
Hello, someone would have a script idea to
place an info bubble from right to left when it
has no place in the browser window? thank you for
your answers ...
My script
// Detection du navigateur
ns4 = (document.layers)? true:false;
ie4 = (document.all)? true:false;
// Decallage de l'infobulle par rapport au pointeur en X et en Y (en p...
Hi guys,
I am using .slideToggle - Jquery to create an accordion and It works so far.
However, When div#slickbox goes down or up the page does not scroll with it. The page maintain scroll position.
I have 2 huge images(700px x 1300px) inside div#slickbox.
I want to scroll the page with the content, down & up.
How can I do this?
...