Jump to content
Sign in to follow this  

Lenkefunksjon som viser tekst under

Recommended Posts

Du kan fikse det med litt Javascript og CSS. Lag en boks som inneholder teksten som skal vises/skjules, og en link som viser til en JS-funksjon som forandrer CSS'en. Bruk CSS sin display-property til å vise/skjule boksen. Her er et grovt utkast til en løsning:


<script language="javascript">
function visSkjulBoks()
	if (document.getElementById('boks').style.display == "none")
		document.getElementById('boks').style.display = "block"
		document.getElementById('boks').style.display = "none";
<a href="javascript:visSkjulBoks()">Restart your computer</a>
<div id="boks" style="display: none;">Simply restarting the computer can clear up certain issues that could prevent you from restoring iPhone or iPod touch. After you restart, try restoring the device again in iTunes.</div>

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...