HTML only: Change text by clicking - html

I would like to have different versions of a HTML text displayed by clicking on a button (without using javascript).
The idea is to select different languages with a button/hyperlink etc. that controls what HTML text to display. I know this works with javascript, but unfortunately the webpage I want to post my multilanguage texts on does not support javascript. The webpage I am talking about is geocaching.com, so maybe anyone has seen or done such a multilanguage listing or knows how to do this under the restrictions posed there.
Any idea how to select/display distinct texts in plain HTML? Thanks for any solution, pointers or references.
Best
M.

Without using Javascript or Jquery I think your only option left would be to make the buttons act like links and push forward a variable and to use server side scripting like php or asp to write a specific style inside the page for the elements in question...

If you are using .net, you can have multiple 'href' calls in your html to your controllers actions that would give you your desired output. Hope its something that your looking for.

Related

Bookmark in HTML/CSS

Is there a way to Bookmark using HTML/CSS? I have been developing this mobile application in HTML and want to be able to give the option to bookmark certain pages to the users. Is there a way to do this in HTML?
There isn't a way in pure HTML (since it's just a markup language) or CSS (this just define the style), since bookmarking is an action done exclusively by the browser without iteration with the web page. I'm aware that JavaScript can do it.
I don't think so, as HTML is only a markup language, not supposed to interfere in browser's data or configuration. In case JavaScript is also an option for you, please refer to this answer.

How to add HTML/CSS using the editor on DNN? How to add markup without relying on modules?

I don't have direct Host or Superuser access to DNN and the way our system is set up I wont get access to those accounts. It is a policy where i work. Is there ANY way to get your HMTL/CSS to actually work as you put it into the DNN HMTL editor? I have tried adding things like an accordion sidebar, tabbed area, and a simple CSS image hover. DNN takes my code and jumbles it up so that it does not work correctly. I have taken markup straight from my text editor, into dnn (that was working fine in the browsers before i took it into DNN) and it shows up, but does not act like it should or the code gets jumbled and breaks and I spend an hour trying to fix it EVERY TIME.
Has anyone out there had the same issue, or any suggestions, tricks to get your markup to work correctly in DNN.
Thanks,
Yes and no, you can't add scripts in the html editor and if you are copy-pasting something that has a FORM element, it won't directly work without modification.
One possible way to keep your javascript working is to move it to the Header or Footer options in the module options of that module instead of the content.
As for if your code contains a FORM element, you can use javascript to modify the Asp.NET FORM element to suit your need, see http://dotnetnuke.bz/Articles/tabid/156/DotNetNuke/98/How-to-Include-Multiple-Forms-in-DotNetNuke.aspx for more details.

adding spelling suggestion on HTML page

I am new to web development and just trying to add spelling suggestion to a textarea. I really don't know what I am going to need for this, need to write the code myself or use a third party library etc. Can someone suggest me how to add this functionality to a simple HTML page containing a textarea. I want when I write a misspelled word in text area, some suggestions matching that word should appear in dropdown.
Well autocorrect in the web page can be achieved by JavaScript for sure.
There are some nice frameworks for this, probably you could see this:
https://github.com/sanisoft/jQuery-auto-correct
For only spellchecking (despite built-in browser checking):
http://www.javascriptspellcheck.com/JQuery_SpellCheck_Plugin

Help with creating a demo website

I have a question of how to develop a small website which is quick and easy which has html support unlike google sites. For one of my course project I have to develop a prototype of the website but just html pages. Want to implement the clicks, text fields, checkboxes etc., I have created a small site of googlesites but that doens't allow me to put the html like text fields radio buttons etc., I just wanted to know if there is any free WYSIWYG capable for doing my stuff.
Thanks in advance
EDIT:
I dont want to use the div tags and arrange the location of HTML. I just want to drag and drop the fields and the site should automatically place the fields appropriately on the webpage something as easy as google sites
I found jsfiddle.net to be really useful. Basically you can put in HTML, CSS, and Javascript, click "Run" and see the result.
It's great for testing or hacking some CSS or Javascript, as it gives you instant feedback, saving you the "edit, save, launch, wait, repeat" cycle you might find using a text or HTML editor.
UPDATE
I'm not sure if I understood your question correctly. Perhaps you are looking for a tool like Google sites but with more capabilities? If so, http://www.weebly.com/ is a good option and it is free.

is there any way to pass the values betwn the htmls without using any other language

is there any way to pass and get the values betwn the htmls without using any other language like js, jsp, php and others , only html.
simple answer NO
HTML is a markup language is only to create a view
nothing else
If you want to use only html the only thing you can do is display another page within your html using an iframe or frames. But I would not recommend those solutions. If you can get away with some javascript you can do way more with it. By you mentioning pass values it seems that you want to do some logic as the previous anwser stated HTML is only for the presentation layer.