FHIR - Repeated patient resource on a single xml message - hl7-fhir

We are querying a web service to retrieve a list of patients.
Is there a way to encapsulate several tags in a root element that matches the FHIR standard ?
Or is FHIR dedicated to manage patient one by one ?

There is a way to retrieve a list of patients. Here's examples:
http://fhir.healthintersections.com.au/open/Patient?_id=1,2,example (DSTU 1)
http://fhir-dev.healthintersections.com.au/open/Patient?_id=1,2,example (Candidate DSTU 2)
If you just use those URLs directly, you'll get an HTML view of the underlying format. Use a REST explorer (e.g. Postman) to see the underlying XML, which, for the DSTU 1 case, looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Search results for resource type Patient</title>
<id>urn:uuid:fac88057-33e9-4401-86da-c86027d36b</id>
<link href="http://fhir.healthintersections.com.au/open/" rel="fhir-base" />
<link href="http://fhir.healthintersections.com.au/open/Patient/_search?_format=text/xml+fhir&search-id=ac47863c-3d02-4ac8-9fdd-fcb2467f60&&_id=1%2C2%2Cexample&search-sort=_id" rel="self" />
<updated>2015-01-08T20:27:45Z</updated>
<totalResults xmlns="http://a9.com/-/spec/opensearch/1.1/">3</totalResults>
<entry>
<title>Patient "1" Version "22"</title>
<id>http://fhir.healthintersections.com.au/open/Patient/1</id>
<link href="http://fhir.healthintersections.com.au/open/Patient/1/_history/22" rel="self" />
<updated>2014-12-23T17:34:02Z</updated>
<author>
<name>Anonymous (155.230.118.94)</name>
</author>
<published>2015-01-08T20:27:45Z</published>
<content type="text/xml">
<Patient xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Everywoman, Eve. SSN:
444222222</div>
</text>
<identifier>
<label value="SSN"/>
<system value="http://hl7.org/fhir/sid/us-ssn"/>
<value value="444222222"/>
</identifier>
<name>
<use value="official"/>
<family value="Everywoman"/>
<given value="Susan"/>
</name>
<telecom>
<system value="phone"/>
<value value="555-555-2003"/>
<use value="work"/>
</telecom>
<gender>
<coding>
<system value="http://hl7.org/fhir/v3/AdministrativeGender"/>
<code value="M"/>
</coding>
</gender>
<birthDate value="2002-09-09"/>
<address>
<use value="home"/>
<line value="2222 Home Street"/>
</address>
<managingOrganization>
<reference value="Organization/hl7"/>
</managingOrganization>
<active value="true"/>
</Patient>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Everywoman, Eve. SSN:
444222222</div>
</summary>
</entry>
<entry>
<title>Patient "2" Version "2"</title>
<id>http://fhir.healthintersections.com.au/open/Patient/2</id>
<link href="http://fhir.healthintersections.com.au/open/Patient/2/_history/2" rel="self" />
<updated>2014-11-07T06:17:07Z</updated>
<author>
<name>Anonymous (72.130.166.78)</name>
</author>
<published>2015-01-08T20:27:45Z</published>
<content type="text/xml">
<Patient xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">Everyman, Adam. SSN:
444333333</div>
</text>
<identifier>
<label value="SSN"/>
<system value="http://hl7.org/fhir/sid/us-ssn"/>
<value value="444333333"/>
</identifier>
<name>
<use value="official"/>
<family value="Everyman"/>
<given value="Adam"/>
</name>
<telecom>
<system value="phone"/>
<value value="555-555-2014"/>
<use value="work"/>
</telecom>
<gender>
<coding>
<system value="http://hl7.org/fhir/v3/AdministrativeGender"/>
<code value="M"/>
</coding>
</gender>
<address>
<use value="home"/>
<line value="2222 Home Street"/>
</address>
<managingOrganization>
<reference value="Organization/hl7"/>
</managingOrganization>
<active value="true"/>
</Patient>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">Everyman, Adam. SSN:
444333333</div>
</summary>
</entry>
<entry>
<title>Patient "example" Version "25"</title>
<id>http://fhir.healthintersections.com.au/open/Patient/example</id>
<link href="http://fhir.healthintersections.com.au/open/Patient/example/_history/25" rel="self" />
<updated>2014-12-02T06:23:30Z</updated>
<author>
<name>Anonymous (1.22.102.13)</name>
</author>
<published>2015-01-08T20:27:45Z</published>
<content type="text/xml">
<Patient xmlns="http://hl7.org/fhir">
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
<b>Generated Narrative</b>
</p><p>
<b>name</b>: </p>
<ul>
<li>Peter Chalmers </li>
<li>Peter Chalmers </li>
</ul><p>
<b>telecom</b>: </p>
<ul>
<li>ph: (03) 5555 6473</li>
<li>ph: -unknown-</li>
<li>peter.chalmers#healthintersections.com</li>
<li>ph: (03) 5555 6473</li>
<li>ph: -unknown-</li>
<li>peter.chalmers#healthintersections.com</li>
</ul><p>
<b>gender</b>: Male <span style="background: LightGoldenRodYellow ">(Details : { code "M" := "", given as "Male"})</span>
</p><p>
<b>birthDate</b>: 1974-11-25T00:11:00+05:30</p><p>
<b>deceased</b>: -1</p><p>
<b>address</b>: </p>
<ul>
<li>534 Erewhon St PleasantVille Alabama 3999 </li>
<li>534 Erewhon St PleasantVille Alabama 3999 </li>
</ul><p>
<b>maritalStatus</b>: Single <span style="background: LightGoldenRodYellow ">(Details )</span>
</p><p>
<b>multipleBirth</b>: 0</p><p>
<b>communication</b>: </p>
<ul>
<li>Spanish <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
<li>English <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
<li>Spanish <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
<li>English <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
</ul><p>
<b>careProvider</b>: </p>
<ul>
<li>
Practitioner/131
</li>
<li>
Practitioner/132
</li>
<li>
Practitioner/133
</li>
<li>
Practitioner/134
</li>
<li>
Practitioner/143
</li>
</ul>
</div>
</text>
<name>
<family value="Chalmers"/>
<given value="Peter"/>
</name>
<name>
<family value="Chalmers"/>
<given value="Peter"/>
</name>
<telecom>
<system value="phone"/>
<value value="(03) 5555 6473"/>
</telecom>
<telecom>
<system value="phone"/>
</telecom>
<telecom>
<system value="email"/>
<value value="peter.chalmers#healthintersections.com"/>
</telecom>
<telecom>
<system value="phone"/>
<value value="(03) 5555 6473"/>
</telecom>
<telecom>
<system value="phone"/>
</telecom>
<telecom>
<system value="email"/>
<value value="peter.chalmers#healthintersections.com"/>
</telecom>
<gender>
<coding>
<code value="M"/>
<display value="Male"/>
</coding>
<text value="Male"/>
</gender>
<birthDate value="1974-11-25T00:11:00+05:30"/>
<deceasedBoolean value="true"/>
<address>
<line value="534 Erewhon St "/>
<city value="PleasantVille"/>
<state value="Alabama"/>
<zip value="3999"/>
</address>
<address>
<line value="534 Erewhon St "/>
<city value="PleasantVille"/>
<state value="Alabama"/>
<zip value="3999"/>
</address>
<maritalStatus>
<text value="Single"/>
</maritalStatus>
<multipleBirthBoolean value="false"/>
<communication>
<text value="Spanish"/>
</communication>
<communication>
<text value="English"/>
</communication>
<communication>
<text value="Spanish"/>
</communication>
<communication>
<text value="English"/>
</communication>
<careProvider>
<reference value="Practitioner/131"/>
</careProvider>
<careProvider>
<reference value="Practitioner/132"/>
</careProvider>
<careProvider>
<reference value="Practitioner/133"/>
</careProvider>
<careProvider>
<reference value="Practitioner/134"/>
</careProvider>
<careProvider>
<reference value="Practitioner/143"/>
</careProvider>
</Patient>
</content>
<summary type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>
<b>Generated Narrative</b>
</p><p>
<b>name</b>: </p>
<ul>
<li>Peter Chalmers </li>
<li>Peter Chalmers </li>
</ul><p>
<b>telecom</b>: </p>
<ul>
<li>ph: (03) 5555 6473</li>
<li>ph: -unknown-</li>
<li>peter.chalmers#healthintersections.com</li>
<li>ph: (03) 5555 6473</li>
<li>ph: -unknown-</li>
<li>peter.chalmers#healthintersections.com</li>
</ul><p>
<b>gender</b>: Male <span style="background: LightGoldenRodYellow ">(Details : { code "M" := "", given as "Male"})</span>
</p><p>
<b>birthDate</b>: 1974-11-25T00:11:00+05:30</p><p>
<b>deceased</b>: -1</p><p>
<b>address</b>: </p>
<ul>
<li>534 Erewhon St PleasantVille Alabama 3999 </li>
<li>534 Erewhon St PleasantVille Alabama 3999 </li>
</ul><p>
<b>maritalStatus</b>: Single <span style="background: LightGoldenRodYellow ">(Details )</span>
</p><p>
<b>multipleBirth</b>: 0</p><p>
<b>communication</b>: </p>
<ul>
<li>Spanish <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
<li>English <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
<li>Spanish <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
<li>English <span style="background: LightGoldenRodYellow ">(Details )</span>
</li>
</ul><p>
<b>careProvider</b>: </p>
<ul>
<li>
Practitioner/131
</li>
<li>
Practitioner/132
</li>
<li>
Practitioner/133
</li>
<li>
Practitioner/134
</li>
<li>
Practitioner/143
</li>
</ul>
</div>
</summary>
</entry>
</feed>

Related

How to create image-map in jssor slider

How to use image-map on jssor. its not working, the link disappears. I have tried the given code.
<div id="jssor_4" style="position:relative;margin:0 auto;top:0px;left:0px;width:1500px;height:300px;overflow:hidden;visibility:hidden;">
<div data-u="slides" style="cursor:default;position:relative;top:0px;left:0px;width:1500px;height:300px;overflow:hidden;">
<div>
<img data-u="image" src="/images/banner-animasi1.jpg" usemap="#image-map1" style="width:100%" />
</div>
</div>
<!-- Bullet Navigator -->
<div data-u="navigator" class="jssorb108" style="position:absolute;bottom:0px;right:12px;" data-autocenter="1" data-scale="0.5" data-scale-bottom="0.75">
<div data-u="prototype" class="i" style="width:16px;height:16px;">
<svg viewbox="0 0 16000 16000" style="position:absolute;top:0;left:0;width:100%;height:100%;">
<circle class="b" cx="8000" cy="8000" r="5800"></circle>
</svg>
</div>
</div>
</div>
</div>
<map name="image-map1">
<area target="_self" alt="Tentang kami" title="Tentang kami" href="/about" coords="2666,758,3540,922" shape="rect">
</map>
Any suggestion or help will be appreciated. Thanks

<mvc:resources mapping="/resources/**" location="/resources/" />

This is the dispatcher-servlet.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/mvc"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.2.xsd">
<mvc:annotation-driven />
<context:component-scan base-package="com.web.controllers" />
<mvc:resources mapping="/resources/**" location="/resources/" />
<!-- <mvc:default-servlet-handler /> -->
<beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<beans:property name="prefix" value="/WEB-INF/views/" />
<beans:property name="suffix" value=".jsp" />
</beans:bean>
</beans:beans>
<%# page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%# taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core" %>
<%# taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%# taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html>
<head>
<title>mypage</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="${pageContext.request.contextPath}/WebContent/resources/mycustom/fabrication.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/WebContent/resources/mycustom/boxmodel.css" rel="stylesheet">
<link href="<c:url value="/resources/css/bootstrap.min.css" />" rel="stylesheet">
<link href="${pageContext.request.contextPath}/WebContent/resources/css/moslake_style.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/WebContent/resources/css/boxmodel.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/WebContent/resources/css/font.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/WebContent/resources/css/media.css" rel="stylesheet">
<script src="<c:url value="/resources/js/jquery.min.js" />"></script>
<script src="<c:url value="/resources/js/bootstrap.min.js" />"></script>
</head>
<body bgcolor="#F5FAFA">
<h1>${pageContext.request.contextPath}</h1>
<div class="header">
<div class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="row">
<div class="col-md-5"></div><!--end of first row columns-->
<div class="col-md-2">
<a class="navbar-brand" href="#"><img src="img/swing.png" alt="swing logo" height="50" width="100"></a>
</div>
<div class="col-md-5"></div>
</div><!--end of row-->
<div class="row">
<div class="col-md-5">
<ul class="nav nav-pills">
<li>
<button class="dropdown-toggle btn-primary btn-sm" data-toggle="dropdown" type="button">
<span class="glyphicon glyphicon-menu-hamburger"></span>
</button>
<ul class="dropdown-menu">
<li><p align="center">Projects List</p></li>
<li class="divider"></li>
<li><b>Project1</b></li>
<li><b>Project2</b></li>
<li><b>Project3</b></li>
<li><b>Project4</b></li>
<li><b>Project5</b></li>
</ul>
</li>
<li class="dropdown">
<button type="button" class="dropdown-toggle btn-primary btn-sm" data-toggle="dropdown">
<span class="glyphicon glyphicon-plus"></span>
</button>
<ul class="dropdown-menu">
<li><p align="center">Add</p></li>
<li class="divider"></li>
<li><b>New Project</b></li>
</ul>
</li>
<li>
<form class="navbar-search" id="srch" action="#">
<input type="text" class="form-control" placeholder="Search">
</li>
<li>
<button class="btn btn-primary btn-md" type="submit"><span class="glyphicon glyphicon-search"></span>Search</button>
</form>
</li>
</ul>
</div><!--end of col-md-5-->
<div class="col-md-4"></div><!--end of col-md-4-->
<div class="col-md-3">
<ul class="nav nav-pills">
<li>
<a class="btn btn-basic">hello!
<span class="badge">Abbas Kapasi</span>
</a>
</li>
<li class="dropdown">
<button class="dropdown-toggle btn-primary btn-sm" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i> <i class="glyphicon glyphicon-chevron-down"></i></button>
<ul class="dropdown-menu">
<li>Profile</li>
<li class="divider"></li>
<li>Logout</li>
</ul>
</li>
</ul>
</div><!--end of col-md-3-->
</div><!--end of nested row-->
</div><!--end of main container-->
</div><!--end of nav-->
</div><!--end of header-->
</body>
</html>
This causes following error:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [resources]
Offending resource: ServletContext resource [/WEB-INF/containers/dispatcher-servlet.xml]

Conversion from HTML to Joomla is not working

I am new to Joomla and I am customizing theme from HTML to joomla 3.My folder structure is like
--mysite
|
--CSS
--Images
--index.php
--index.html
--templateDetails.xml
index.php:
<?php
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap.min.css');
$doc->addStyleSheet($this->baseurl . '/media/jui/css/bootstrap-responsive.css');
$doc->addScript($this->baseurl . '/media/jui/js/jquery.min.js');
$doc->addScript($this->baseurl . '/media/jui/js/bootstrap.min.js');
JHtml::_('jquery.framework');
JHtml::_('bootstrap.framework');
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<jdoc:include type="head" />
<link rel="stylesheet" type="text/css" href="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/templatemo_style.css"/>
</head>
<body>
<!--
This is a free CSS template provided by templatemo.com
-->
<div id="templatemo_container_wrapper">
<div class="templatemo_spacer"></div>
<div id="templatemo_container">
<div id="templatemo_top"> Website Templates · Flash Templates · Company · Contact</div>
<div id="templatemo_header">
<div id="inner_header">
<jdoc:include type="component" />
</div>
</div>
<div id="templatemo_left_column">
<div class="section_box2" align="justify">
<div class="text_area">
<img src="images/s_flashmo_022_park_34.jpg" alt="Photo One" title="Photo One" width="120" height="90" class="templatemo_pic" />
<jdoc:include type="module" name="left" style="none" />
</div>
</div>
</div>
</div>
<div id="templatemo_right_column">
<ul class="templatemo_menu">
<jdoc:include type="module" name="right_menu" style="none" />
</ul>
<div class="section_box" align="justify">
<jdoc:include type="module" name="right_content" style="none" />
</div>
</div>
<div id="templatemo_footer">
<jdoc:include type="module" name="footer" style="none" />
</div>
</div>
<div class="templatemo_spacer"></div>
</div>
</body>
</html>
templateDetails.xml:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/2.5/template-install.dtd">
<extension
version="3.1"
type="template"
client="site">
<name>MySite</name>
<creationDate>01/10/2014</creationDate>
<author>Rohil</author>
<authorEmail>rohilmistry#xyz.com</authorEmail>
<authorUrl>rohilmistry.com</authorUrl>
<copyright>Copyright Rohil</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>1.0.0</version>
<description>Site Description goes here ...</description>
<files>
<folder>images</folder>
<folder>css</folder>
<filename>index.php</filename>
<filename>index.html</filename>
<filename>templateDetails.xml</filename>
</files>
<positions>
<position>top_header</position>
<position>left</position>
<position>right_menu</position>
<position>right_content</position>
<position>footer</position>
</positions>
</extension>
And it is giving me this output and I want to achieve this.
Any Help would be appreciated.

How to make 2 tables on 1 page?

I want two 'menus' on my page, but when I add a div next to my leftmenu (where I didn't use div but pictures) I get ugly space between my pictures.
My current code is:
<html>
<head>
<title>Welcome to Nielyboyken</title>
</head>
<body bgcolor="grey">
<br>
<a href="http://zeldauniverse.net">
<img src="http://i1.minus.com/jbg3tjE57KYsx1.png" />
</a>
<a href="">
<img src="http://i.minus.com/ip2vEndNDv7vj.png" />
</a><text-align:"right">
<iframe src="http://free.timeanddate.com/clock/i3qoeq8q/n48/szw135/szh135/hoc000/hbw12/hfc000/cf100/hgr0/hcw1/fas20/facfff/fdi88/mqc0033cd/mqs3/mql5/mqw2/mqd74/mhc0033cd/mhs4/mhl4/mhw2/mhd76/mmcf90/mml4/mmw1/mmd74/hhc666/hmc666" frameborder="0" width="137" height="137"></iframe>
</font>
<div style="width:1340px; height:20px; background-color:black;">
Contact
[Register]
[Login]</font>
</div>
<center>
<font style="font-family: Fixedsys;font-size: 35px;color:blue">Welcome to my personal site!</font>
</center>
<center><font style="font-family:Fixedsys,;color:white">Welcome! Notice that this is not a forum site but just a personal site.</font></center>
<div id="LeftMenu">
<table>
<img src="http://i5.minus.com/iI7VEHhLP3WyV.png" /> <br>
<a target="_blank" href="http://minus.com/lJMgzKG1FFv2v">
<img src="http://i.minus.com/jJMgzKG1FFv2v.png" border="0"/>
</a>
<div style="width:50px; height:50px; color:red;" </div> <br>
<a href="http://zeldauniverse.net">
<img src="http://i.minus.com/ibfBWr7hEsMtsT.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://youtube.com">
<img src="http://i.minus.com/ib0OadHbWfnpew.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://twitter.com">
<img src="http://i.minus.com/iMNcGJ5Bjwvx4.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://facebook.com">
<img src="http://i.minus.com/ibhDDFKmGlL4rk.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<img src="http://i4.minus.com/i6nJ7Pg8kUfqo.png" /> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="page2test.html" >
<img src="http://i.minus.com/iFNcJv4UvSdye.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="aboutzu.html">
<img src="http://i.minus.com/ishbphpEbNRi2.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://twitter.com/nielyboyken">
<img src="http://i.minus.com/ihJnSHKv3vAco.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="http://www.zeldauniverse.net/forums/members/5390370-nielyboyken.html">
<img src="http://i.minus.com/ibdZgDlK1H5NLP.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" /> <br>
<a href="youtube.com/nielyboyken">
<img src="http://i.minus.com/iGZahFuxuc349.png" />
</a> <br>
<img src="http://i.minus.com/iJMgzKG1FFv2v.png" />
</table>
</div>
</body>
</html>
Does someone know how to fix it?
You should use CSS. HTML is going to leave white space unless you explicitely define where you want them in your DIVs. Much easier to use a CSS template, and format with that. You will have ability to "stick" things in place with CSS.
http://www.w3schools.com/css/
OR
You could use a 1x 2 table. and then insert each element inside the table. Then they would be side by side. Define Column properties, etc...
You should really Google the formatting of this stuff before you ask on here...

telerik radeditor table of contents

I want to have a word like table of content in telerik radeditor.
I have enabled it for editing list items,so inside sharepoint's list item dispform,the table of contents should work by scrolling down to correct title.
I tried adding a snippet using anchor tags as below ,but it opens the link in a new window in dispform.
Any ideas?
Thanks
<snippet name="Table of Content">
<![CDATA[
One
<br/>
<a href="#two" >Two</a>
<br/>
<a href="#three" >Three</a>
<br/>
<a href="#four" >Four</a>
<br/>
<a href="#five" >Five</a>
<br/>
<a href="#six" >Six</a>
<br/>
<a href="#seven" >Seven</a>
<br/>
Eight
<br/>
Nine
<br/>
<a href="#ten" >Ten</a>
<br/>
<a name="one" />
<h1>This is number One</h1>
<br/>
<a name="two" />
<h1>This is number Two</h1>
<br/>
<a name="three" />
<h1>This is number Three</h1>
<br/>
<a name="four" />
<h1>This is number Four</h1>
<br/>
<a name="five" />
<h1>This is number Five</h1>
<br/>
<a name="six" />
<h1>This is number Six</h1>
<br/>
<a name="seven" />
<h1>This is number Seven</h1>
<br/>
<a name="eight" />
<h1>This is number Eight</h1>
<br/>
<a name="nine" />
<h1>This is number Nine</h1>
<br/>
<a name="ten" />
<h1>This is number ten</h1>
<br/>
]]>
</snippet>

Resources