0
Welcome Guest! Login
0 items Join Now

Reference a Joomla Module from inside the "Custom HTML" Particle

    • YeeP's Avatar
    • YeeP
    • Hero Rocketeer
    • Posts: 287
    • Thanks: 0

    Reference a Joomla Module from inside the "Custom HTML" Particle

    Posted 7 years 3 weeks ago
    • Can this be done? I am looking at getting a modal module, but I need to bring the modal up when the user clicks on an html map which I am assuming needs to go in custom HTML.

      Thank you,
      Ryan
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Reference a Joomla Module from inside the "Custom HTML" Particle

    Posted 7 years 3 weeks ago
    • Yes it can be done using rokbox - look at the rokbox documentation - specifically "DOM element".

      Regards, Mark.
    • The following users have thanked you: YeeP

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • YeeP's Avatar
    • YeeP
    • Hero Rocketeer
    • Posts: 287
    • Thanks: 0

    Re: Reference a Joomla Module from inside the "Custom HTML" Particle

    Posted 7 years 3 weeks ago
    • Thanks MrT, I believe you are talking about this (in case it helps anyone in the future):
      www.rockettheme.com/docs/joomla/extensio...#data-rokbox-element

      I guess I need to look up how to define the elements so I can try this.

      One problem I have though. I believe this requires the <a> link. I cannot do that inside of an html image map.

      I guess I need to look for a way to render a modal from a link I can put in href reference..



      example taken from: www.w3schools.com/tags/tag_map.asp
      <map name="planetmap">
        <area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
        <area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
        <area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
      </map>

      I have seen some html maps make reference to javascript functions, but that is only in mouseover and mouseoff. Not sure if that would be an option. If you have any ideas, I am really stuck on this.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Reference a Joomla Module from inside the "Custom HTML" Particle

    Posted 7 years 3 weeks ago
    • Yes you can put links in an image map (although you may also need to use JS which I gave you a link for in your other topic). And you can also use SVG too.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.057 seconds