<%= link_to image_tag("search.gif", :border=>0), :action => 'show', :id => user %>

Fonte: http://snippets.dzone.com/posts/show/1375

Bookmark e Compartilhe
Comentários (1)

Modelo TabView Control

01 de Novembro

Segue abaixo modelo de tabview

Exemplo

Download

Fonte: http://developer.yahoo.com/

Bookmark e Compartilhe
Comentários (40)

Letra:

Switch back !

Chained to what I can't Reclaim,
I'll never be the Same,
won't be the same Again,


Wait, how can it be too
Late?
'Cause I don't want to
Play,
with such a price to
Pay

Chained to what I can't Reclaim,
I'll never be the Same,
won't be the same Again,

Switch back !

It's too late to look back... (10x)

Switch back !

Bookmark e Compartilhe
Comentários (1)

Segue baixo procedimento.

1 - Js

<script>
function CheckAll()
{
count = document.frm.elements.length;
for (i=0; i < count; i++)
{
if(document.frm.elements[i].checked == 0)
{document.frm.elements[i].checked = 1; }
else {document.frm.elements[i].checked = 1;}
}
}
function UncheckAll(){
count = document.frm.elements.length;
for (i=0; i < count; i++)
{
if(document.frm.elements[i].checked == 1)
{document.frm.elements[i].checked = 0; }
else {document.frm.elements[i].checked = 0;}
}
}
</script>

2 - Html

<form name="frm">
    <input type="button" value="Check All" onclick="CheckAll()" name="btn" />     <input type="button" value="Uncheck All" onclick="UncheckAll()" name="btn" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" />
</form>

3 - Html completo

<html>
<head>
<script>
function CheckAll()
{
count = document.frm.elements.length;
for (i=0; i < count; i++)
{
if(document.frm.elements[i].checked == 0)
{document.frm.elements[i].checked = 1; }
else {document.frm.elements[i].checked = 1;}
}
}
function UncheckAll(){
count = document.frm.elements.length;
for (i=0; i < count; i++)
{
if(document.frm.elements[i].checked == 1)
{document.frm.elements[i].checked = 0; }
else {document.frm.elements[i].checked = 0;}
}
}
</script>
</head>
<body>
<form name="frm">

    <input name="btn" type="button" onclick="CheckAll()" value="Check All">
    <input name="btn" type="button" onclick="UncheckAll()" value="Uncheck All"><br />

    <input type="checkbox" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" /><br />
    <input type="checkbox" />

</form>
</body>
</html>
Bookmark e Compartilhe
Comentários (1)

Como alguns ja devem conhecer o inquisitor(caso não conheça, clique aqui) para o safari, também existe uma versão(beta) para o firefox.

Link do plugin

Bookmark e Compartilhe
Comentários (1)

1 2 7 8 9 11 13 14 15 34 35

Copyright © 2008 - Todos os direitos reservados.

diHITT - Notícias BlogBlogs.Com.Br