Drupal has a print link function that I'm using in my .tpl.php
<?php
print l(t('Announcement'), 'node/30');
?>
l makes it become a link. Does drupal have an equivalent API function to make buttons?
If not, what's your best suggestion for this?
...
Hi,
I am trying to create a css based image rollover navigation bar. For some reason, I can not get the images in the right place. I was hoping someone could help.
You can find the code and images here:
http://garretwais.com/Freelance/9-3-2010/home.html
Thanks,
Garret
...
i have a CSS Drop Down Menu...
what i am doing with this in a certain portion of my website is that i am using its links to call AJAX-jQuery to change the contents of a DIV on the page without reloading...
<script type="text/javascript">
function load_editor(id)
{
$('#myDIV').load('editor.php?id=' + id);
}
</script>
<div class="ma...
Hello all,
We have to design some text as follows:
Text in English XXX Text in English XXX Text in English.
While XXX should be replaced by images with the same height of the Text in English.
I would like to know whether or not there is a better solution for this.
Thank you
//////// Update ////////////////
XXX in fact are text tr...
I am having a CSS problem in IE
This page looks fine in Firefox, chrome, opera....but on IE the "date bar" overlaps on the first <li> bar
Here : http://www.animefushigi.com/latest-episodes
CSS is as followed :
#content h2.other-posts {
height: 31px;
font-size:12px;
line-height: 31px;
background: #2c2b2b;
padding: ...
How many number of CSS classes can be assigned for an HTML element.
...
I have a problem with jquery (1.4.2) and chrome 6
margin-left:auto
margin-right:auto
$(id).css('margin-left');
$(id).css('margin-right');
both return a px value(ex: 327px)
...
hi,
i need to create a task list in the html page.using only css . i try using jquery,but it is not filled my requirement.for reference please check the image attached
thank you
...
This code works fine in Firefox but not in IE, please give a solution only using CSS (No jquery or javascript), the problem begins when you click on the span inside the DIV!
<style type="text/css">
.tools {
cursor:pointer;
}
.tools {
background-color:#aaa;
padding:5px;
}
.tools span {
background-color:green;
color...
Can the color of this text be changed as it is inputted by the user in the text box through css only..
<html>
<head>
</head>
<input type="text" id="name1" name="name1" />
...
Bit of a cryptic title there, hopefully you can help :)
When I drag one of the Draggables, it clones itself but doesn't drop on the droppables :(
any ideas?
My code:
<!DOCTYPE HTML>
<html>
<head>
<title>jQi</title>
<script type="text/javascript" language="javascript" src="http://code.jquery.com/jquery-1.4.2.mi...
I have realized the problem before but I guess it didn't matter as much then as it did now.
What I discovered is that Firefox has a default line-height value of 1.2 for input fields which can not be changed. At least in OSX, don't have Windows so I can't confirm it there.
I did some experimenting and testing and there's just no way to ...
Is it possible to create a List Box, with List Items in Multiple Columns? I am aware of the alternatives, but I am wondering if this is possible in <select>
...
What are pros and cons of using a .htc file in CSS?
...
I am creating facebook fbml application, that has to run in tab. That fbml application contains image, which, after clicking, loads iframe. Iframe contains content of application and uses facebook Javascript API. Starting 23rd of August, facebook tabs are 520px wide. I am using <fb:request-form> to invite friends to application. The prob...
Just starting using css and jQuery and I have a CSS class called .content which I'm using for a side of the page navigation box, picture of the day box, statistics box, etc., which are layed out using a definition lists.
So I need it when I click on the <dt> tag it slides up/down the <ul> tag underneath it which is simple enough. but h...
I want to show hidden div on hover of <div class="thumb"> and i have multiple div on page each thumb div has different content images. width is fix for all div but height of large div <div class="large" style="display:none"> can be extended upon content after the image inside div.
Text of h2 will be always the same in both div.
If mous...
I have a large paragraph. Within that there is a span tag with id for a particular word. On mouse hover the size of that particular word in para should increase. It can come above the other text and cover the contents in paragraph but it should not affect the alignment of other text.
...
Hi, I am a jQuery noob and seems I always will be, been trying to get this simple thing to work.
What I want is, when the checkbox is checked, hide the div with display: none;.
Here's a jFiddle example of what I'm making a mess of.
Thanks for any help, or other solutions :)
...
Say my div class is called fred. Can I :
.fred:hover
{
text-decoration:underline;
}
(I don't want to use an a tag)
(I know it works in some browsers but the question is really is it legit code ?)
...