Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • mullet Friend
    #116650

    Hi there,
    I am trying to add another [ back ] button, but I need/want it at the top right of the page, next to or below the PDF Print E-mail buttons that are on every content page by default. Can anyone help me with this?

    Regards,
    Mullie.


    1. softphone-unlimited
    Hieu Nguyen Admin
    #209284

    Hi Mullet,

    Which template do you need to make the [back] button to be like that? In most case, you can try to play around with the “Absolute Position“. For example:

    .back_button {
    font-size: 11px;
    position: absolute;
    top: 100px;
    right: 5px;

    }

    Please note that this technic required some CSS knowledge and also depends on which template you are using. In some case, doing that will make the layout of your template messed up.

    Give me the link to your site, may I help you in this case!

    mullet Friend
    #209285

    Hi Hieu,

    JA Pluto – is the template

    we have been mucking around in the css already, will redo the site once everything is 100%
    weblink is here. The main problem I am getting is the Default /Wide Screen Resolution. So when I set it up manually and press on the wide, it (my back button) will end up half way in the page. Yet when I put that html in its only in the static content and not in the actual page, maybe if you could point me to where the others(print/pdf/email) are setup?

    thanks for the help thus far.

    regards,
    Mullie.

    mullet Friend
    #209287

    Ok now I got it to stay on the right by adding
    <div class="back_button">
    <a href='javascript:history.go(-1)'>
    [ Back ] </a>
    </div>

    I know its really weird 😉 yet it worked, but what doesnt work is the javascript, it keeps trying to get to http://hotcon.co.za/javascript:history.go(-1) I dont know enough about this to understand whats happening here 🙂 hence why we chose this template and joomla, but I have been asked to get this back button sorted, is there a propper way of doing it, because I really don’t think that segment of code I used is the “correct” way.
    Any ideas will be more than welcome.

    regards,
    Mullie.


    1. TAMIR_
    ha le-viet Developer
    #209294

    Hi Mullie,

    You can use this instead:


    <a href='#' onclick="javascript:history.back();">[ Back ]</a>

    Hope this help.

    Regards,
    Ha Le-Viet.

    laphiz Friend
    #212354

    hi,
    i m a new bie here. i want to edit the [Back] and [Next] button text. where can i find this code

    <div class=”back_button”>
    <a href=’javascript:history.go(-1)’>
    [ Back ] </a>
    </div>
    I want my own text here.I tried much to find it but in vain.

    Any help would be appriated.

    Regards

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  laphiz 17 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum