Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Picture of Aaron
Posted
I understand there has been quite a bit about the ability to edit HTML of an SS, WE page and even extending that to import existing pages written in HTML. But here is yet another blurb about the issue. I am quite a novice when it comes to web design, but it would be a nice feature to edit the HTML code even in an IMS created site. I noticed that the CoffeCup program edits HTML and now even has a WYSIWYG editor, which has received some good reviews. I tried the demo, and it was pretty cool although I will stay faithful to WebEngine because it seems much more user-friendly yet rugged enough for larger projects, besides the editing of HTML. Just a thought, thanks!

-Aaron Smile
 
Posts: 69 | Registered: February 20, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
There shouldn't be much need to modify the published html -- probably the reason an edit feature is not built in Smile

For the few occasions where you might want to modify the code, you can use your favorite html editor on it after you publish. But be prepared to redo it each time you publish Frown

However, there are neat features already built into SS, like custom headers and code objects -- make sure you know how to use those. Also other tricks with CSS are possible. So you might not need to modify the html after all. If you have a case where you are modifying the html after publish, please do tell -- it might be possible to accomplish it another way.
 
Posts: 9263 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
One area is the body tag. There have been times where I have had to use work-arounds in place of using the onload= option, which are either cumbersome or violate W3C standards. It would also be nice to be able to specify an id name for the body.

Maybe this can be added as an option to the Page Editor.
 
Posts: 5147 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
With the release of V2.7 we included the ability to add Code to links and Objects. We'll keep adding to this.


- Derry
 
Posts: 4167 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
Just to add to this, in the meantime you can use this as a Code Object:

<script ...>
loadBody();

function loadBody(){
...
}
</script>


- Derry
 
Posts: 4167 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
I use a custom header with:
<body onload="do_something();" />  


It works, but I know it isn't W3C compliant. It is also easy to add extra script functions if needed and I don't need to worry about placement on the page.
 
Posts: 5147 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Picture of Aaron
Posted Hide Post
Alright, I'm really going to sound like a novice now. What is W3C compliant? Is it really important? I know that when I viewed the VM webpage with the W3C compliant button and clicked on it, it said that the website is NOT W3C compliant, along with my website built with Web Engine. Just curious, and what would be recommended I check into to make my site W3c compliant if necessary. Thanks!!!
 
Posts: 69 | Registered: February 20, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
I wouldn't worry too much about it. Running the check is great to help you find problem areas, but failing W3C verification isn't the end of the world. If it ain't broke, don't fix it!

Every browser varies from implementing the standard in some area, so making something compliant for one browser may produce marginal performance on another browser.

I'll change my tune when they start giving cash awards for compliancy!
 
Posts: 5147 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.