I'm trying to have the users click on the links in an article, but have the results open in the same article (so the article reloads and open the target page in itself, like it would if it was in an iframe, right now it reloads the whole page), I do not want to use the main menu, and would also like to avoid using iframes, normally if this was HTML I'd use ajax or something similar, but in joomla i'm not sure, any suggestions?
How to open a link from a Joomla article into the same article window
1.2k Views Asked by Mankind1023 At
1
There are 1 best solutions below
Related Questions in HYPERLINK
- Hyperlink directs to hidden row
- HTML Button Link to Website from Text
- Replacing a hyperlink with an image on excel
- Retain css of links after enabling click-tracking of send-grid
- Problems with Clickable Divs in side bar
- Links with images and text - combined or separate?
- Remove Underline From HyperLinkButton XAML
- Launch a web browser or youtube using textview in android
- Can we edit hyperlink in Restrict editing mode in Word 2013?
- HTML link scroll down the page
- html <pre></pre> page layout blocks links
- Programming Externally Linked Images in Excel
- Opening link in new tab without clicking on link
- Copy and Paste Hyperlink change path to absolute
- Use window.name to open links in emails in the same tab
Related Questions in JOOMLA
- Frontend editor in joomla 3 does not load the assigned position
- Using helper getTagItemsQuery needs alias ids not actual aliases
- Joomla css path incorrect
- Maddening scope issue
- Joomla Breezing forms - Form not found issue
- how to hide an id from a joomla url
- Joomla Get menu id from names
- How to get database information from Joomla category
- Joomla 3 RSS url syntax
- Redirect URLs using Redirect component or htacess
- How are Joomla 3 passwords encrypted?
- Updating Mysql Database Aruba
- Joomla 3 - template only works with category, will not show single article
- Joomla password reset not working
- Error 403 when posting on Facebook a Joomla URL for multilingual site
Related Questions in JOOMLA-ARTICLE
- How to edit Joomla article layout/style?
- How to insert text to editor programmatically in Joomla?
- Get preview link to article before publishing
- Joomla front page article should not be shown
- How can I change the position I want a article in joomla?
- Is it possible to get the part of article before the cut in Joomla?
- How can I change the position of Joomla's articles?
- How to get the date of creation and view count of an article in Joomla?
- Update an article
- How can I keep one specific article always on top on the front page?
- How to create custom page template in folder
- Why {loadposition myposition} of Newsflash modules are not loaded in Intro of a Joomla article?
- Uncaught ReferenceError: tinyMCE is not defined , joomla 2.5.7 error on Chrome
- Changing Joomla 2.5 behaviour for opening articles that shall be edited in a new window
- Show Joomla module only in specific articles?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you have HTML ids you are better of using AJAX, Joomla has jquery and mootols to make your life easier. There are couple of things you should know
Look into JUMI, it will allow you to use PHP within your articles. Can be very helpful. You can use it to add javascript framework from article for your ajax like so
<?php JHTML::_('behavior.mootools'); ?>You want to be careful while editing the article, if you use editor it will strip out your JavaScript from the article. You are better of just using "No-Editor" or if you are using JCE switch to text by pressing "Show/Hide" just above the editor in the left corner.
Add events to your IDs in
domreadyinstead of inline js. Something like this