Post by montanaflynn » Mon Dec 14, 2009 2:26 pm

I thought it was weird having to scroll to the top of the page to save product edits and other forms. So I created a small script that duplicates the save and cancel buttons and adds them to the bottom of the page as well as the top. It works by simply adding this jQuery code to your admin/view/template/common/header.tpl file after the jQuery script.

Code: Select all

<script type="text/javascript"> 
$(document).ready(function(){ 
$(".buttons").clone().appendTo("#content");
}); 
</script>

User avatar
New member

Posts

Joined
Fri Oct 09, 2009 5:19 am

Post by moggiex » Mon Dec 14, 2009 9:45 pm

montanaflynn wrote:I thought it was weird having to scroll to the top of the page to save product edits and other forms. So I created a small script that duplicates the save and cancel buttons and adds them to the bottom of the page as well as the top. It works by simply adding this jQuery code to your admin/view/template/common/header.tpl file after the jQuery script.

Code: Select all

<script type="text/javascript"> 
$(document).ready(function(){ 
$(".buttons").clone().appendTo("#content");
}); 
</script>
I love hacks like these, so simple and saves the annoyance of going back to the top all the time.

Exactly why we need a karma button here :D

Matt

Code: Select all

It was like that when I found it, honest!


User avatar
Active Member

Posts

Joined
Mon Nov 09, 2009 9:55 pm

Post by Qphoria » Mon Dec 14, 2009 10:05 pm

moggiex wrote: Exactly why we need a karma button here :D

Really? That's like putting stickers on our notebooks. Karma is meant for "Hello kitty" forums only 8) :D

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by nzjollyroger » Tue Dec 29, 2009 11:44 am

does this work for 1.3.2?

New member

Posts

Joined
Mon Nov 16, 2009 5:26 am
Who is online

Users browsing this forum: No registered users and 5 guests