FRIHOST
•
FORUMS
•
SEARCH
•
FAQ
•
TOS
•
BLOGS
•
COMPETITIONS
You are invited to
Log in
or
Register a free Frihost Account
!
Frihost Forum Index
->
Computers en Techniek
Post a reply
Username
Subject
Submit post?
No
Yes
Please select "Yes" to submit your guest post
Message body
Emoticons
View more Emoticons
Font colour:
Default
Dark Red
Red
Orange
Brown
Yellow
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Violet
White
Black
Font size:
Font size
Tiny
Small
Normal
Large
Huge
Close Tags
Options
HTML is
OFF
BBCode
is
ON
Smilies are
ON
Disable Smilies in this post
Image verification
All times are GMT + 2 Hours
Jump to:
Select a forum
General
----------------
Announcements and Rules
General Chat
Suggestions
Introductions
Lifestyle and News
----------------
Hobbies and Animals
Jobs and Learning
History
Economics and Marketing
Relationships
Health and Beauty
Philosophy and Religion
Faith
Travel and Countries
Politics
Amazing Projects
Discuss World News
Support and Web Hosting
----------------
Guests
Frihost Support
Web Hosting Support
Request an Account Change
Science
----------------
The Universe
Life
Basics
Education
Earth
General Science
Sports and Entertainment
----------------
Anime and Comics
Games
Literature
Music
Movies and Television
Filmmaking and Graphics
Sports
Vehicles and Transportation
Computers
----------------
Software
Operating Systems
Hardware and Electronics
Computer Problems and Support
Webmaster and Internet
----------------
Advertise Your Website
SEO and Search Engines
Design Tips
Advertising
Domain Names
Websites
Link Exchanges
Scripting
----------------
Html, CSS and Javascript
Php and MySQL
Website Software
Others
Frihost users
----------------
Personal Pictures Gallery
Personal Art Gallery
Blogs
Humor
----------------
Jokes
Funny Pictures
Miscellaneous
----------------
Contests
Marketplace
Tutorials
Language Forums
----------------
Languages and Translation
Polish
French
FAQ français
Turkish
Spanish
Portuguese
Dutch
----------------
Algemeen
Computers en Techniek
Actualiteit
Topic review
Author
Message
stienoo
Posted: Wed Mar 05, 2008 4:15 pm
Post subject:
Heel simpel, ik ken die dingen gewoon niet
Ik heb
http://tinymce.moxiecode.com/example.php?example=true
gedownload enz, het werkt, ik ga waarschijnlijk de simpel versie pakken, maar als ik nu bv de smylies wel bij dat balkje wil, kan ik dan zorgen dat er bij de simpele versie wel de smylies zijn?
James007
Posted: Tue Mar 04, 2008 9:49 pm
Post subject:
Zou je iets kunnen met zo wat linkjes?
http://www.iceteks.com/articles.php/javascript/1
Of een reeds bestaande editor finetunen:
http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode
Waarom je écht met bb-code wil werken terwijl er echt wel stijlvolle oplossingen zijn:
http://www.fckeditor.net/demo/toolbar?toolbar=Basic
of
http://tinymce.moxiecode.com/example.php?example=true
stienoo
Posted: Tue Mar 04, 2008 9:06 pm
Post subject:
Ik heb dat van hierboven geprobeert maar het lukt niet goed, namelijk lukt het wel om de knop te veranderen maar niet om het terug normaal te krijgen.
Mijn code:
Code:
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
function replaceButtonText(buttonId, text)
{
if (document.getElementById)
{
var button=document.getElementById(buttonId);
if (button)
{
if (button.childNodes[0])
{
//alert("ch");
button.childNodes[0].nodeValue=text;
}
else if (button.value)
{
//alert("val");
button.value=text;
}
else //if (button.innerHTML)
{
//alert("inner");
button.innerHTML=text;
}
}
}
}
//-->
</SCRIPT>
<title>button</title>
</head>
<body>
<a href="javascript:document.getElementById('myButton1').value='New Button Text';void(0);"><input type="button" value="Button Text" id="myButton1" onClick="javascript:replaceButtonText('myButton1', document.getElementById('button1Name').value);"></a>
</body>
</html>
je kan het zien op
http://www.stijnsallets.frih.net/gastenboek/button.html
Quote:
*edit*
Ik heb het gevonden, ik had iets over het hoofd gezien, ik moet nog wel wat veranderen enzo.
Momenteel heb ik
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<SCRIPT LANGUAGE="JavaScript">
function replaceButtonText(buttonId, text)
{
if (document.getElementById)
{
var button=document.getElementById(buttonId);
if (button)
{
if (button.childNodes[0])
{
//alert("ch");
button.childNodes[0].nodeValue=text;
}
else if (button.value)
{
//alert("val");
button.value=text;
}
else //if (button.innerHTML)
{
//alert("inner");
button.innerHTML=text;
}
}
}
}
//-->
</SCRIPT>
<title>button</title>
</head>
<body>
<p><input type="button" value="Button Text" id="myButton1" onClick="javascript:replaceButtonText('myButton1', document.getElementById('button1Name').value);">
<br /><a href="javascript:document.getElementById('myButton1').value='New Button Text';void(0);">Try it (this will execute the code above)</a>
<input type="text" name="button1Name" id="button1Name" size="15" value="New Text">
<p />
</body>
</html>
rvec
Posted: Mon Mar 03, 2008 8:51 pm
Post subject:
misschien heb je hier wat aan:
http://www.permadi.com/tutorial/jsInnerHTMLDOM/index.html
stienoo
Posted: Mon Mar 03, 2008 7:48 pm
Post subject: UBB-codes voor op website
Ik ben een gastenboek aan het maken, het gaat vrij goed, ik heb al een admin waar je berichten kan aanpassen en verwijderen en smylies maar nu wil ik ook bb-codes maken, in principe werken die al maar het probleem is dat ik wil dat als je op een toets duwt en er dan in het bericht (bv)
Code:
[b]
komt en als je nog eens op diezelvde toets duwt er
Code:
[/b]
komt, opzig het zelvde als die smylies alleen moet er dan iets komen dat als je 1 keer op de knop druk de waarde verandert + het uitzigt en als je er nog eens op druk hij terug normale waarde en uitzigt word (en met de kleuren en groottes is het nog ingewikkelder maar las ik dat al gedaan kan krijgen zou ik blij zijn)
Mijn gastenboek is te zien op
www.stijnsallets.frih.net/gastenboek/gastenboek.php
ik hou ook van kritiek (voor de smylies moet ik nog mooiere zoeken en de namen aanpassen
)
FRIHOST HOME
|
FAQ
|
TOS
|
ABOUT US
|
CONTACT US
|
SITE MAP
© 2005-2011
Frihost
,
forums
powered by
phpBB
.