Artisteer is a very easy to use and professional template creator. The software can create custom designed templates/themes/layouts for popular CMS systems like Joomla! and Wordress. Within the template creator, you can customize your buttons that will used to display on forms, widgets, and the “Read More” link in Joomla!
This tutorial shows how a button can be added within a post/page/article wherever you want it to be. The only choices that need to be made, is whether the Artisteer template was created in version 3.x or 2.x, and whether the link opens in the same window or in a new one.
Artisteer 3.X
To Open in the Same Window
<p style=”text-align:center;”><span class=”art-button-wrapper”>
<span class=”art-button-l”> </span>
<span class=”art-button-r”> </span>
<input type=”submit” name=”my_button” value=”My Button” onClick=”window.location=’http://www.yoursite.com’” />
</span></p>
To Open in a New Window
<p style=”text-align:center;”><span class=”art-button-wrapper”>
<span class=”art-button-l”> </span>
<span class=”art-button-r”> </span>
<input type=”submit” name=”my_button” class=”art-button” value=”My Button” onClick=”window.open(‘http://www.yoursite.com’);” />
</span></p>
Artisteer 2.X
To Open in the Same Window
<p style=”text-align:center;”><span class=”art-button-wrapper”>
<span class=”l”> </span>
<span class=”r”> </span>
<input type=”submit” name=”my_button” class=”art-button” value=”My Button” onClick=”window.location=’http://www.yoursite.com’” />
</span></p>
To Open in a New Window
<p style=”text-align:center;”><span>
<span class=”l”> </span>
<span class=”r”> </span>
<input type=”submit” name=”my_button” value=”My Button” onClick=”window.open(‘http://www.yoursite.com’);” />
</span></p>
The only difference between the 3.x and the 2.x code is the left and right span classes. Other than that, the javascript changes a little for the new window option.
About Duncan
Duncan Harmsworth has written 65 post in this blog.
I’m a Web Designer/Social Media Manager/Blog Writer. If it happens on the web, I probably have heard of it.
Appreciate the recommendation. Let me try it out.
[Translate]
Pingback: ubud bali
Do you mind if I quote a few of your articles as long as I provide credit and sources back
to your website? My blog site is in the very same area of interest as yours and my visitors would really benefit from a lot of the information you provide
here. Please let me know if this okay with you. Thanks!
[Translate]
Of course it’s okay! Information is meant to be shared…
[Translate]
Hello,
My website will be up soon – the only problem is that the buttons created will always take the size of the text within them.
QUESTION: Is there any way to make a specific button a specific width/height, regardless of the amount of text in them?
Thank you!
- Paul
Paul Testagrossa recently posted..Test
[Translate]
Appreciate this post. Will try it out.
Roberta recently posted..Roberta
[Translate]