Let $S^{n+m+1}$ be given by
$$S^{n+m+1} = \{(\vec x, \vec y): |\vec x|^2 + |\vec y|^2 = 1\},$$
where $\vec x = (x_1, \cdots, x_{n+1})$ and $\vec y = (y_1, \cdots, y_{m+1})$. Then $S^{n+m+1}$ decomposes into two parts:
$$A = \{ |\vec x| \ge |\vec y| \} \cup B = \{ |\vec x| \le |\vec y|\}$$
which shares a common boundary $\{ |\vec x| = |\vec y| = \frac 12\}$. Note that the common boundary is homeomorphic to $\mathbb S^n \times \mathbb S^m$.
Now define a continuous map: $F : \mathbb S^n \times \mathbb D ^{m+1} \to A$ by
$$F(\vec u, \vec v) = \frac{1}{\sqrt{1 + |\vec v|^2}} \big( \vec u, \vec v\big) \in \mathbb S^{n+m+1}$$
first of all, as $1= |\vec u|\ge |\vec v|$, we have $F(\vec u, \vec v) \in A$. Now we show that it is bijective:
If $F(\vec u_1, \vec v_1 ) = F(\vec u_2, \vec v_2)$, then $\vec u_1 = C \vec u_2$ for some scalar $C$, which implies that $\vec u_1 = \vec u_2$ as they both lie in $\mathbb S^{n+1}$. This also shows that $|\vec v_1| = |\vec v_2|$ and so $\vec v_1 = \vec v_2$. Thus $F$ is injective.
To show that it is surjective, note that for all $(\vec x, \vec y) \in A$, we have
$$F\bigg(\sqrt{1 + \frac{|\vec y|^2 }{|\vec x|^2}} \vec x , \frac{\vec y}{|\vec x|}\bigg) = (\vec x, \vec y)$$
Thus $F$ is surjective. As $\mathbb S^{n+1} \times \mathbb D^{m+1}$ is compact and $A$ is Hausdorff, $F$ is a homeomorphism.
One can similarly construct a homeomorphism $\mathbb D^{n+1} \times \mathbb S^{m+1} \to B$.