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
- Non-Expiring Direct Link Like When Clicked It Will Download Without Landing Any Page
- Hyperlink doesn't redirect while others do
- I want to embed YouTube videos in my web app while safeguarding the direct video links. How can I do this?
- How to make common post or page for external links in wordpress website using php or any language
- I want to avoid this warning: "Microsoft Office has identified a potential security concern"
- LinkedIn Thumbnail problems
- Replace a Link to a file per GScript in GMail
- link analysis with visjs on the basis of timestamp
- No route found in Shopware6/symfony
- How to make a div button to link to another web page
- I need URLs typed into Google Sheet cells to open automatically when they are finished being typed
- Approach to display links by role
- Link target _system is not working on IOS inAppBrowser
- a href not taking me to a page that is specified
- My links are visually breaking as soon as screen is resized
Related Questions in JOOMLA
- Problem with a simple query script used in RS Forms on Joomla 4
- How point to other link after login
- How to get media manager file attribute (CREATED DATE) in Joomla! 3.10.5
- Joomla 5..0.3 delay in search
- how to make an .mp4 file inaccessible on the public side
- How can I make the content of <field> show only once/under the checkbox clicked?
- Site links have started giving 403 errors through Facebook debugger
- Joomla 5 translation for com_content category layout in custom template
- change the look of the user login in joomla
- How can I use a helper file in a system plugin?
- Trying to send html content in a JSON format using Python to Joomla API
- How to add Joomla 4 user via script
- Joomla - Remove script tags from head with a custom plugin
- Class 'SppagebuilderHelper' not found in Joomla CMS
- Trouble Integrating MySQL 8.0 with MAMP for Joomla 5 on an Older iMac
Related Questions in JOOMLA-ARTICLE
- How can I load a module by name instead of id in JSE?
- Show category articles inside joomla article?
- How to retain style tags saved in the contents in JCE?
- JCE removes textarea attributes from article text
- Changing Joomla 2.5 behaviour for opening articles that shall be edited in a new window
- How to add custom text when JCE 2.3.1 is loaded?
- Joomla "Add new article" javascript error "Joomla not defined"
- How to add JCE MediaBox popup to ajax content in Joomla articles
- Why aren't my Joomla 3 articles translating to my new language?
- Joomla article use template override
- Joomla 2.5 shows add/edit form for article/category incompletely
- When I create an new article in Joomla, how do I drop the "/joomla" from the URL?
- How to delete the Article info (Joomla 3.0)?
- How can I modify Joomla article styles?
- New article default status being set to trashed
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 # Hahtags
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