• Sascha

    (@kleinsascha)


    Hello together,

    short question: Is it possible to change with 1 click on 1 link the content within a WordPress Page on 2 different boxes or spots?

    Or let me say: To change 2 contents by 1 click?

    Thanks in advance.

    Sascha

Viewing 6 replies - 1 through 6 (of 6 total)
  • If the link is to a web address, it will be loaded into the target, which can be a new window or an iframe or the existing window.
    If the link is to a javascript, it can do whatever it wants to the existing window, including fetching data to load into a part of the page or an iframe or a new window or the existing window.

    Thread Starter Sascha

    (@kleinsascha)

    Hello Joy,

    thank you for your answer.

    Maybe I expressed myself not really good:

    I speak about 1 Page and different blocks or coloumns.
    When I click on a picture on this page – how can I do it, that both columns or blocks changing their content? (of course not external, but in the same window, otherwise it would make no sense).

    See screenshot here for better explanation:
    https://prnt.sc/thnkg0

    Best regards

    Sascha

    Right, that’s the second scenario I listed. You need a script to manipulate the content. And your image shows a button, which is not a link. (Links should navigate to another location, and buttons do things with scripts.)
    An alternative to a script that fetches more content is to load both sets of content in the page, and hide one. The second set can be revealed on the click. Consider whether this is accessible to screen reader users, who have to be told when something changes.

    Thread Starter Sascha

    (@kleinsascha)

    Mhh .. no sorry, but I am afraid that you still not got what I meant.

    It doesn’t matter if I have a link, button or picture or whatever.

    Facts are: 1 click – 2 changes within the page. How is this possible?

    Thats all.

    You need a script to manipulate the content.

    If you try to do it with CSS alone, it’s not very sustainable, and there are limitations in the order you put the things to be affected.

    Thread Starter Sascha

    (@kleinsascha)

    CSS is a stylesheet … how would I be able to do this with CSS?
    I am looking for an easy plugin solution or something like that, what my end-customer can handle.. no programer stuff.

    But I notice that it waste too much time to search and discuss about this topic.
    The result will not be worth the time I (and we) spent for this topic …

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘1 Link – 2 Changes of content possible?’ is closed to new replies.