Toon posts:

[HTML]Copy/paste zet ie om?

Pagina: 1
Acties:
  • 32 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik wil een HTML code copy/paste naar Frontpage. Alleen plakt ie de code verkeerd
Hoe moet ik dit wel goed doen?

Origineel:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
<title>Dynamic Select Example</title>

<script type="text/javascript">
// Create arrays containing state cities
// Note: These arrays could be created dynamically
var arrStates, arrFlorida, arrNewYork, arrTennessee
arrFlorida = ["Daytona Beach", "Miami", "Orlando", "Tampa"]
arrNewYork = ["Albany","New York", "Oakland", "Rochester"]
arrTennessee = ["Gatlinburg", "Knoxville", "Memphis", "Nashville"]
arrStates =[arrFlorida, arrNewYork, arrTennessee]

// Function to handle dynamically altering the contents of the City List box
function handleChange(newDisplay)
{   var StateSelect, CitySelect, NumEntries, i
    StateSelect = document.frm.States
    CitySelect = document.frm.Cities

Na copy/paste:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<TABLE>
<TBODY>
<TR>
<TD class=TEXT><SPAN 
style="COLOR: blue">&lt;html&gt;<BR>&lt;head&gt;<BR>&lt;title&gt;Dynamic Select 
Example&lt;/title&gt;<BR><BR>&lt;script type="text/javascript"&gt;<BR><SPAN 
style="COLOR: red">// Create arrays containing state cities<BR>// Note: These 
arrays could be created dynamically</SPAN><BR>var arrStates, arrFlorida, 
arrNewYork, arrTennessee<BR>arrFlorida = ["Daytona Beach", "Miami", "Orlando", 
"Tampa"]<BR>arrNewYork = ["Albany","New York", "Oakland", 
"Rochester"]<BR>arrTennessee = ["Gatlinburg", "Knoxville", "Memphis", 
"Nashville"]<BR>arrStates =[arrFlorida, arrNewYork, arrTennessee]<BR><BR><SPAN 
style="COLOR: red">// Function to handle dynamically altering the contents of 
the City List box</SPAN><BR>function handleChange(newDisplay)<BR>{   var 
StateSelect, CitySelect, NumEntries, i<BR>    StateSelect = 
document.frm.States<BR>    CitySelect = document.frm.Cities<BR><BR>  <SPAN 
style="COLOR: red">

Verwijderd

Kopieer het eerst anders naar een notepadje, en daarna pas in frontpage.

  • MAZZA
  • Registratie: Januari 2000
  • Laatst online: 17-08 14:00

MAZZA

Barbie is er weer!

Je moet het wel in html pasten en niet in design mode of hoe dat ook mag heten in frontpage.

  • Y0ur1
  • Registratie: Oktober 2000
  • Niet online
Eerst ff naar notepad doen en dan naar frontpage. Hij probeert namelijk de opmaak zoals de text stond om te zetten in html opmaak, vandaar die BR's etc.

[ Voor 3% gewijzigd door Y0ur1 op 05-06-2003 14:23 ]


  • Sneezydevil
  • Registratie: Januari 2002
  • Laatst online: 29-09-2025
Ik los dit meestal op door plakken special te kiezen en dan text zonder opmaak. Weet alleen of je in frontpage een plakken speciaal tot je beschikking hebt, maar dacht het wel.

Verwijderd

Topicstarter
MAZZA schreef op 05 June 2003 @ 14:21:
Je moet het wel in html pasten en niet in design mode of hoe dat ook mag heten in frontpage.
Hehe, die had ik al door, maar dat helpt niet ;)


@ Rest: Notepad omweg werkt. _/-\o_ Wel stom dat het zo moet, maar goed.....

[ Voor 15% gewijzigd door Verwijderd op 05-06-2003 14:28 ]


Verwijderd

eerst even in notepad zetten, opslaan als blaator.html en dan weer openen in frontpage....

  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

MAZZA schreef op 05 June 2003 @ 14:21:
Je moet het wel in html pasten en niet in design mode of hoe dat ook mag heten in frontpage.
Heb je het zelf eens geprobeerd? :)
Sneezydevil schreef op 05 June 2003 @ 14:25:
Ik los dit meestal op door plakken special te kiezen en dan text zonder opmaak. Weet alleen of je in frontpage een plakken speciaal tot je beschikking hebt, maar dacht het wel.
Is uitgeschakeld in html modus

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.


  • Willem
  • Registratie: Februari 2001
  • Laatst online: 22:08
Nuff said :)

Genoeg tips in bovenstaande reacties...

Motor (of auto) onderhoud bijhouden

Pagina: 1

Dit topic is gesloten.