| View previous topic :: View next topic |
| Author |
Message |
BradleyD.Haslam Moderator
Joined: 25 Apr 2006 Posts: 310 Location: Ogden Utah... The great vacuum of the west!
|
Posted: Mon Mar 03, 2008 9:25 pm Post subject: |
|
|
| Quote: | | Ignorance can be educated, but there is nothing you can do with stupidity. |
So, what you're saying is...
"You can't fix stupid!"
Right?
 |
|
| Back to top |
|
 |
Jim Hutchinson Moderator
Joined: 17 Jan 2006 Posts: 408 Location: Iowa, USA
|
Posted: Mon Mar 03, 2008 9:41 pm Post subject: |
|
|
Ron White is CrAzY! I am just waiting for him to get his tour closer to home. Much of what he says may be funny, it is also right.
Or as Forrest Gump would say, "Stupid is as stupid does."
Thanks for the laugh!
Jim |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Mon Mar 03, 2008 10:13 pm Post subject: |
|
|
Thank you both so much!
I will get to work on that now.
Thanks again!
Cheers,
Kimberley  |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Mon Mar 03, 2008 10:54 pm Post subject: |
|
|
Done and Done!
I haven't filled in the blanks just yet with the privacy statement as yep, I don't know what to put in there. Do I put my host?
Cheers! |
|
| Back to top |
|
 |
Jim Hutchinson Moderator
Joined: 17 Jan 2006 Posts: 408 Location: Iowa, USA
|
Posted: Mon Mar 03, 2008 11:50 pm Post subject: |
|
|
Unless you employ the services of someone else to provide the newsletter, you can remove the first sentence.
Otherwise, put the name of the company or person who does the newsletter for you.
Jim |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Tue Mar 04, 2008 12:01 am Post subject: |
|
|
| Thanks Jim! |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Thu Mar 13, 2008 12:47 am Post subject: Linking content on the same page |
|
|
Hello!
Me again! I could have sworn I saw something about it a few weeks ago but now I cannot find it anywhere! I am trying to find out how to make it so when you click on a word in a sentence it will take you to another part of the page relating to it. I hope I have written that properly so you know what I'm on about!
If anyone has any clue what I'm talking about, can you please help?
Thanks in advance!
Kimberley  |
|
| Back to top |
|
 |
Jim Hutchinson Moderator
Joined: 17 Jan 2006 Posts: 408 Location: Iowa, USA
|
Posted: Thu Mar 13, 2008 2:03 am Post subject: |
|
|
Hi Kimberley
The links you are referring to are named links. They are structured like this:
Name a section: <a name=SectionName"></a>
Link to that section: <a href="#SectionName">Link Title</a>
Clicking on the Link Title will take you to the Section Name.
To enter the link in WordPress, replace the default http:// in the link box with #SectionName and keep the target as the same window.
However, to create the Section Name, you may have to go into the code.
I hope that helps.
Jim |
|
| Back to top |
|
 |
BradleyD.Haslam Moderator
Joined: 25 Apr 2006 Posts: 310 Location: Ogden Utah... The great vacuum of the west!
|
Posted: Thu Mar 13, 2008 2:32 am Post subject: |
|
|
I knew you were a code junkie Jim
 |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Thu Mar 13, 2008 3:28 am Post subject: |
|
|
Hi Jim!
Okay, I've done what you said and when i go to preview it and click on the link it takes me to my manage posts page! Aggh. Any hints as to what I am doing wrong?
Kimberley  |
|
| Back to top |
|
 |
Jim Hutchinson Moderator
Joined: 17 Jan 2006 Posts: 408 Location: Iowa, USA
|
Posted: Thu Mar 13, 2008 3:36 am Post subject: |
|
|
Go into the code, copy the section and paste it here so we can take a look and work it out for you.
Jim |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Thu Mar 13, 2008 3:52 am Post subject: |
|
|
Thanks for taking a look. I've fiddled around with it a few times now and the same thing happens. I've even replaced both 'a name' and 'section name with the name of the section (laparoscopy)but to no avail.
<a name=SectionName">Laparoscopy</a>
and when I go back into it it looks like this...
<a title="SectionName" name="SectionName"></a>Laparoscopy
Thanks Jim! I know it's probably staring me right in the face! |
|
| Back to top |
|
 |
Jim Hutchinson Moderator
Joined: 17 Jan 2006 Posts: 408 Location: Iowa, USA
|
Posted: Thu Mar 13, 2008 2:14 pm Post subject: |
|
|
I was hoping you would catch my error with the missing quote in <a name=SectionName">
Change it to
<a name="Laparoscopy"></a>Laparoscopy
Then change the hyperlink to that section. "SectionName" can be anything descriptive for the section you are defining.
WorkPress puts it outside the named link because it is now a hyperlink; it is just a section reference that requires nothing between the opening and closing tags. A title inside the named reference is optional and actually makes no sense since there is no text between the tags to reference a title. It is harmless though, it WordPress insists on it.
Jim |
|
| Back to top |
|
 |
Jim Hutchinson Moderator
Joined: 17 Jan 2006 Posts: 408 Location: Iowa, USA
|
Posted: Thu Mar 13, 2008 8:08 pm Post subject: |
|
|
| BradleyD.Haslam wrote: | I knew you were a code junkie Jim  |
Coding versus visual designing became a habit in the early 90's when earlier versions of HTML editors produced some horrible code. FrontPage was one of those, but it has made some advances over the years to clean that code up.
The programs with the worst possible code are word processors such as Microsoft Word. Export a Word DOC to HTML and be totally amazed at how a nice, clean document can look so overwhelmingly ugly underneath. Yes, some people design their web pages in Microsoft Word.
So I learned hard coding so that now I take a blank page in Note Tab Pro and design web pages and PHP scripts with that. That gives me total control over the coding. I remember when FrontPage indented every table cell to the point where you would have to scroll off the page to the right to see the next line.
Do you know what that does to file sizes? I did some checking.
100 spaces in a text file on Windows shows 0 bytes.
100 spaces in a text file on Linux shows 100 bytes.
1 carriage return (line break) on Windows shows 2 bytes.
1 carriage return (line break) on Linux shows 2 bytes.
Each character is 2 bytes.
An opening paragraph tag, <p> is 4 bytes. (3 characters should be 6 bytes)
Text and HTML files use the same character sizing rules.
Now, how does this relate to WordPress? When you are in the page or article editor, click the Code tab to see how clean WordPress writes the page. Before the page is published, you will not see the formatting marks.
After saving or publishing the page though, you can go back in and edit it. What you will see is that WordPress compresses the HTML as much as possible, including carriage returns.
I like to have my paragraph tags on a line of their own for visually locating a paragraph. WordPress puts the closing paragraph tags at the end of each paragraph and the opening paragraph tags at the beginning of the next paragraph line.
Referring to the character and carriage return (line break) above, a shorter page will not see much savings in file size. However, if you like to write long articles or create long pages, the savings can be visually noticed.
A few bytes here and there will not make much of a difference. However, not only will a long page will take longer to load, it also occupies more disk space. This is not usually an issue when you have huge amounts of storage space, but those will smaller amounts will want to watch their file sizes.
Wow, all that from one innocent "code junkie" reference. You may now return to your article writing.
Jim Hutchinson |
|
| Back to top |
|
 |
aussie
Joined: 25 Jan 2008 Posts: 78 Location: Brisbane
|
Posted: Thu Mar 13, 2008 10:22 pm Post subject: |
|
|
WOW!!
You really are a code junkie! Thanks for all that, as I am an info junkie! As it seems!
The link is now working! I knew it had to be staring me right in the face!
Cheers darlin
Kimberley  |
|
| Back to top |
|
 |
|