Cemoir
No Result
View All Result
  • WORDPRESS
  • JOOMLA
    • JOOMLA EXTENSIONS
    • JOOMLA KNOWLEDGE BASE
    • JOOMLA VIDEOS
  • LARAVEL
  • MOBILE APPS
  • WORDPRESS
  • JOOMLA
    • JOOMLA EXTENSIONS
    • JOOMLA KNOWLEDGE BASE
    • JOOMLA VIDEOS
  • LARAVEL
  • MOBILE APPS
No Result
View All Result
Cemoir
No Result
View All Result
Home Joomla Joomla Knowledge base

How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites folders – Joomla! Forum

by Tony
December 26, 2020
in Joomla Knowledge base
0 0
0
How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites folders – Joomla! Forum
0
SHARES
2
VIEWS
Share on FacebookShare on Twitter

How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites folders

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner’s Guide to Joomla! <-- please read before posting.
Forum Post Assistant – If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply

  • Print view
3 posts • Page 1 of 1
User avatar

Chacapamac

Joomla! Guru
Joomla! Guru
Posts: 974
Joined: Wed Feb 20, 2008 6:50 am
Location: Canada, Montreal
Contact:

Contact Chacapamac

Website

How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites folders

  • Quote

Post by Chacapamac » Fri Dec 25, 2020 7:06 pm

I made a Javascript snippet to change an image with others when pressing buttons.

The working code is;

Code: Select all

  
User avatar

Per Yngve Berg

Joomla! Master
Joomla! Master
Posts: 27358
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites fol

  • Quote

Post by Per Yngve Berg » Fri Dec 25, 2020 9:26 pm

Use a relative path starting with a dot (current ditectory) i.e "./images"
Top

frostmakk

Joomla! Enthusiast
Joomla! Enthusiast
Posts: 184
Joined: Sun Dec 28, 2014 9:30 am
Location: Stavanger, Norway

Re: How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites fol

  • Quote

Post by frostmakk » Fri Dec 25, 2020 9:39 pm

Set up virtual hosts in your local environment.
Top


ShareTweetPin

Related Posts

How to hide menu in shaper helix3 – Joomla! Forum
Joomla Knowledge base

How to hide menu in shaper helix3 – Joomla! Forum

February 25, 2021
How to hide menu in shaper helix3 – Joomla! Forum
Joomla Knowledge base

How to hide menu in shaper helix3 – Joomla! Forum

February 25, 2021
How to hide menu in shaper helix3 – Joomla! Forum
Joomla Knowledge base

How to hide menu in shaper helix3 – Joomla! Forum

February 24, 2021
How to hide menu in shaper helix3 – Joomla! Forum
Joomla Knowledge base

How to hide menu in shaper helix3 – Joomla! Forum

February 24, 2021
Hide Certain Article Options – Joomla! Forum
Joomla Knowledge base

Hide Certain Article Options – Joomla! Forum

February 24, 2021
how you can get service by criminal lawyer service? – Joomla! Forum
Joomla Knowledge base

how you can get service by criminal lawyer service? – Joomla! Forum

February 24, 2021
Next Post
How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites folders – Joomla! Forum

How to get “document.getElementById” src to be a relative url on a Mamp local environment with multiple websites folders - Joomla! Forum

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • 21.8M Fans
  • 81 Followers
  • 449 Subscribers
  • 283 Followers

Recommended

JWC15 – Karjalainen – The leading newspaper in Finland

JWC15 – Karjalainen – The leading newspaper in Finland

December 6, 2015
Real Life ACL – Sander Potjer, Randy Carey

Real Life ACL – Sander Potjer, Randy Carey

December 1, 2012
Update error – Joomla! Forum

Update error – Joomla! Forum

February 24, 2021
How To Work With Huge Images – Joomla! Forum

How To Work With Huge Images – Joomla! Forum

January 4, 2021
Please provide name of Joomla diagnostics tool – Joomla! Forum

Please provide name of Joomla diagnostics tool – Joomla! Forum

February 6, 2021
SQL Query for showing all subcategories of articles? – Joomla! Forum

SQL Query for showing all subcategories of articles? – Joomla! Forum

January 7, 2021
Cemoir

Cemoir.com is a platform designed to be a starter pack for all website developers and designers around the world, it is a platform that grants you access to unlimited resources, knowledge and support for FREE

How to hide menu in shaper helix3 – Joomla! Forum

How to hide menu in shaper helix3 – Joomla! Forum

February 25, 2021
How to hide menu in shaper helix3 – Joomla! Forum

How to hide menu in shaper helix3 – Joomla! Forum

February 25, 2021
How to hide menu in shaper helix3 – Joomla! Forum

How to hide menu in shaper helix3 – Joomla! Forum

February 24, 2021

Categories

  • All
  • Apps
  • Compares
  • Devices
  • Forums
  • Games
  • How To
  • Joomla Extensions
  • Joomla Knowledge base
  • Joomla Videos
  • Magneto
  • Mobile Apps
  • News
  • Open Cart
  • Open Cart Extensions
  • Photography
  • PhpBB
  • Reviews
  • Security
  • Smartphones
  • Tablets
  • TV
  • Wear
  • Disclaimer
  • DCMA

We do not have rights to any of the materials referred to on cemoir.com
all materials are gotten and refered to External Sources

No Result
View All Result
  • WORDPRESS
  • JOOMLA
    • JOOMLA EXTENSIONS
    • JOOMLA KNOWLEDGE BASE
    • JOOMLA VIDEOS
  • LARAVEL
  • MOBILE APPS

We do not have rights to any of the materials referred to on cemoir.com
all materials are gotten and refered to External Sources

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Get Free Support